Recognizing Headings/Automatic Enumeration with .docx Reader #9333
Unanswered
simonvincenthk
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am building an application to convert technical documentation from
.docx
to.md
, for which I need to preserve headings in the conversion.The headings in my input files (
.docx
) are not always marked as headings with MS Word's styles:Accordingly, they cannot be recognized as headings by
pandoc
's.docx
reader.I'd like to build a work-around by reading and and writing the input files' automatic heading numbers and post processing it with a custom python script; however,
pandoc
's.docx
reader doesn't appear to have an option to read automatic enumeration:Pandoc User's Guide > Options
I'm wondering if anyone knows if it's possible to read automatic enumeration with
pandoc
's.docx
reader, or if they have any other ideas to recognize titles that were not marked as headings with MS Woprd's styles?Best regards, Simon
Beta Was this translation helpful? Give feedback.
All reactions