JessicaTegner / pypandoc

Thin wrapper for "pandoc" (MIT)
http://pypi.python.org/pypi/pypandoc/
Other
875 stars 111 forks source link

Keep <mark> tag when converting Markdown to Docx #366

Closed bloodteller123 closed 4 months ago

bloodteller123 commented 4 months ago

I have a markdown file with some sentences highlighted by tag. I wonder if it's possible to capture the highlighted text in the docx with some reference docx, or trivial ways without need to customize pypandoc (or pandoc eventually), which seems impossible for a single dev. Thanks..

JessicaTegner commented 4 months ago

Hi @bloodteller123

While skimming through the pandoc user guide, this does not currently seem to be possible (unless you count the star symbols as marked). At least not for Word documents. I suggest opening this as a pr, on the main pandoc repository