Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement DOCX to Markdown conversion functionality with pypandoc #107

Closed
wants to merge 3 commits into from

Conversation

github-actions[bot]
Copy link
Contributor

This message was generated by git-bob (version: 0.14.1dev, model: claude-3-5-sonnet-20241022, log), an experimental AI-based assistant. It can make mistakes and has limitations. Check its messages carefully.

I created a solution for converting documents between DOCX and Markdown formats using pypandoc. I implemented this in a Jupyter notebook that defines two main functions: docx_to_markdown() and markdown_to_docx(). To test the functionality, I added a sample DOCX file with various formatting elements like bullet points and text styles. I also updated the requirements.txt to include the necessary dependencies python-docx and pypandoc. The notebook is ready to convert the test.docx file to test.md, though there's a visible import error in the notebook that would be resolved once the dependencies are installed.

  • document_conversion.ipynb Created a Jupyter notebook with functions to convert between DOCX and Markdown formats

  • test.docx Added a test document with basic formatting to demonstrate the conversion functionality

  • requirements.txt Updated dependencies to include python-docx and pypandoc packages

closes #106

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Programming question]: docx2md
1 participant