Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions build/lib/md2docx_python/src/md2docx_python.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,3 @@ def markdown_to_word(markdown_file, word_file):
doc.add_paragraph(li.text, style='List Number')

doc.save(word_file)

markdown_file = input("Enter the path to the Markdown file (e.g., README.md): ")
word_file = input("Enter the path for the output Word file (e.g., README.docx): ")

markdown_to_word(markdown_file, word_file)
Binary file modified dist/md2docx_python-python-0.1.0.tar.gz
Binary file not shown.
Binary file modified dist/md2docx_python_python-0.1.0-py3-none-any.whl
Binary file not shown.
Binary file not shown.
Binary file not shown.
5 changes: 0 additions & 5 deletions md2docx_python/src/md2docx_python.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,3 @@ def markdown_to_word(markdown_file, word_file):
doc.add_paragraph(li.text, style='List Number')

doc.save(word_file)

markdown_file = input("Enter the path to the Markdown file (e.g., README.md): ")
word_file = input("Enter the path for the output Word file (e.g., README.docx): ")

markdown_to_word(markdown_file, word_file)
6 changes: 3 additions & 3 deletions run.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from md2docx_python import markdown_to_word
from md2docx_python.src.md2docx_python import markdown_to_word

markdown_file = "md2docx_python-python\sample_files\amazon_case_study.docx"
word_file = "md2docx_python-python\sample_files\amazon_case_study2.md"
markdown_file = "sample_files/amazon_case_study.md"
word_file = "sample_files/amazon_case_study.docx"

markdown_to_word(markdown_file, word_file)
Binary file modified sample_files/amazon_case_study.docx
Binary file not shown.
Loading