Hello,

 

I am having some problems with docx to markdown conversion using pandoc 2.9.2 on windows.

 

My workflow is:

 

1.       I write/edit the doc in markdown format.

2.       I convert the markdown to docx format for my editor using the command:

3.       After making edits, the my editor returns the docx file to me and I convert it back to markdown for source code control and to review the edits.

4.       When I get the docx file back and convert it to markdown many of the links and image links are really a mess see img-before.txt and img-after.txt for an example.

The img-before.txt is the img link before conversion into docx format.

The img-after.txt is the same img link after converting back from docx to markdown.

 

Regular links have similar line break issue where the links are split across multiple lines in the generated markdown format.

 

Commands used:

 

Markdown to docx:

C:\> pandoc –s –f markdown –t docx –o test.docx test.md

 

Docx to markdown:

C:\> pandoc –s –atx-headers –f docx –t markdown –o test.md test.docx

 

Am I missing a parameter that would keep the links intact?

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/071a68d3-ba0c-4ae2-8c90-61b4e001f9cc%40default.