Open osipxd opened 4 years ago
I use the default theme. My configs for code blocks:
markdown: { lineNumbers: true, }, plugins: [ ['vuepress-plugin-code-copy', { align: 'top' }], ]
Maybe there's a better way but I added this to my index.styl to cancel the 0.85rem margin that was being applied to the code-copy div.
pre .code-copy { margin-top: -0.85rem; }
I use the default theme. My configs for code blocks: