Convert .docx files to Markdown, preserving headings, paragraphs, and tables.
Project description
docx2markdown_custom
Convert .docx files to Markdown, preserving headings, paragraphs, and tables.
Installation
pip install docx2markdown_custom
Usage
from docx2markdown_custom import docx_to_markdown_custom
with open('your_file.docx', 'rb') as f:
docx_bytes = f.read()
markdown = docx_to_markdown_custom(docx_bytes)
print(markdown)
Features
- Converts headings, paragraphs, and tables from .docx to Markdown
- Handles bold and italic text
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file docx2markdown_custom-1.0.1.tar.gz.
File metadata
- Download URL: docx2markdown_custom-1.0.1.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
154b92fcba068bd95495ef2595564e8a4b62410e3105f01b4bf7362936982fa5
|
|
| MD5 |
74fa2fc10c99ef8b0f7ed1d416b9e108
|
|
| BLAKE2b-256 |
f8cad87dbff6cc437e726397c22fc31efbd90e820cffbbbdf342efa12a637487
|
File details
Details for the file docx2markdown_custom-1.0.1-py3-none-any.whl.
File metadata
- Download URL: docx2markdown_custom-1.0.1-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c4ce90e93ea2093de2a489e7a65621022e5d0a781dcde2d82ccf90a72d4aefe
|
|
| MD5 |
2cd198ba8dff388b6a258b495b36ddb3
|
|
| BLAKE2b-256 |
2476deffcb0a2e4786988d71ec27fb2aa895ee9de4bab562974e6d87c5b79e86
|