Open pmagwene opened 2 years ago
I am also having this issue.
Any resolution to this issue?
I was able to resolve this issue for myself. My markdown had the triple backtick code blocks like yours and when I used the Pandoc plugin to convert to DOCX, it generated the word "Copy" in monospace at the bottom of each code block.
pandoc SRC.md -f markdown -t docx -s -o DEST.docx --reference-doc=TEMPLATE.docx
. This created the same exact output as the plugin but without the "Copy" and is my preferred workaround because it's a one-liner. There's a nice community plugin that lets you run shell commands like this within Obsidian via the command palette or a hotkey. <pre></pre>
element. This is less desirable as you're moving away from the point of markdown, but it prevents the Pandoc plugin from generating "Copy" text for the code blocks.
The following Obisidian markdown:
Here\'s a code block: