I am trying to convert a word docx file to dokuwiki using the pandoc command line utility. There are no errors, and lists are correctly converted.
However, heading formats are not recognized at all. I set the headings in the word file using the styles. The dokuwiki format should then use the = to delineate different levels. This does not work. I tried with -f docs+styles but no luck.
Anybody know what I’m missing here?
The template word file made available in pandoc contains the heading styles needed in word to correctly identify headers. The following command will place the template in the current directory:
echo '# myheader' | pandoc -o output.docx
Thanks to mb21 for the answer!