If you are a programmer, you may want your users to be able to copy the code you show in the text with one click.
For this, vuepress-theme-hope
use [@vuepress/plugin-copy-code
][copy-code] to provide a copy button on code blocks.
Info
vuepress-theme-hope
passes plugins.copyCode
in theme options as plugin options to @vuepress/plugin-copy-code
.
Less than 1 minute