Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

docx2markdown_custom-1.0.1.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

docx2markdown_custom-1.0.1-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

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

Hashes for docx2markdown_custom-1.0.1.tar.gz
Algorithm Hash digest
SHA256 154b92fcba068bd95495ef2595564e8a4b62410e3105f01b4bf7362936982fa5
MD5 74fa2fc10c99ef8b0f7ed1d416b9e108
BLAKE2b-256 f8cad87dbff6cc437e726397c22fc31efbd90e820cffbbbdf342efa12a637487

See more details on using hashes here.

File details

Details for the file docx2markdown_custom-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for docx2markdown_custom-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0c4ce90e93ea2093de2a489e7a65621022e5d0a781dcde2d82ccf90a72d4aefe
MD5 2cd198ba8dff388b6a258b495b36ddb3
BLAKE2b-256 2476deffcb0a2e4786988d71ec27fb2aa895ee9de4bab562974e6d87c5b79e86

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page