View Single Post
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
[email protected] robert.m.franz@gmail.com is offline
external usenet poster
 
Posts: 3
Default Convert Word Document To Markdown (and Vice Versa)?

On Sunday, October 15, 2017 at 3:31:06 PM UTC+2, not2bright wrote:
I'm wondering if it's possible to use Word's "replace" function (in my
case it's Word 2007) to change a page of HTML (.docx) into markdown
format (e.g. changing all words/phrases in italics to words/phrases with
asterisks before and after). I'd also like to know if this would work
in reverse, i.e. taking a text file written in markdown and having Word
convert it into HTML (replacing ### with level three headings, replacing
words surrounded with double-asterisks into bold text, etc.).


Some replacements should be easy to do with search/replace, others might be more cumbersome.
A dose of VBA could certainly help (then also for MD--DOC(X).

A quick online search results in:
online convert Word 2 MD
https://word-to-markdown.herokuapp.com/

universal converter
https://pandoc.org/

I haven't tested either ...

Regards,
NextName