Docs to Markdown Conversion feature added to md2docx-python #29
Pinned
shloktech
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am introducing a new feature in this repo which will convert the given docs to Markdown.
Install new release using:
pip install md2docx-python==1.0.0
Word to Markdown Conversion Example:
Input .docx file:
Output .md file:
For Converting Word to Markdown
Use the
word_to_markdown()
function to convert your Word document to Markdown:word_file
: The path to the Word document you want to convertmarkdown_file
: The desired path and name for the output Markdown fileHere's a complete example:
This code will create a file named
test_document_output.md
, which is the conversion oftest_document.docx
to the Markdown format.This discussion was created from the release Adding Docs to Markdown Feature.
Beta Was this translation helpful? Give feedback.
All reactions