Closed ddalpange closed 5 years ago
@ddalpange Good job! However, the top right corner is already occupied by the optional link if the user uses the following code block format as it's shown in https://blog.zhangruipeng.me/hexo-theme-minos/Using-Hexo-Tag-Plugins-in-Minos/#Code-Block
{% codeblock _.compact http://underscorejs.org/#compact Underscore.js %}
_.compact([0, 1, false, 2, '', 3]);
=> [1, 2, 3]
{% endcodeblock %}
Could you please place the copy button somewhere else? Also, please update the _config.yml.example
so others know how to enable it.
I changed the code by your feedback :)
HighlightJS
does not support to copy code, so it was created by myself.