Skip to main content

Convert Markdown to a styled HTML document with print + dark/light toggle.

Project description

tohtml-md

Convert Markdown files to a clean, styled HTML document with:

  • Print button (print-friendly layout)
  • Dark/Light toggle + "System" preference
  • RTL support for Arabic/Persian/Hebrew/Urdu via --lang
  • Copy buttons on code blocks

Install (local)

pip install -e .

Usage

tohtml README.md
tohtml README.md -o out.html --lang ar
tohtml --no-gui README.md

Tip: If you open HTML via file:// and localStorage behaves oddly, serve it locally: python -m http.server 8000

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

tohtml_md-0.1.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

tohtml_md-0.1.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file tohtml_md-0.1.0.tar.gz.

File metadata

  • Download URL: tohtml_md-0.1.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for tohtml_md-0.1.0.tar.gz
Algorithm Hash digest
SHA256 486fef9b23d713a889d5cf4c10731f3f722eb02b8823da2279fe1d73d1036a00
MD5 7ee61c8a43e6bd1b5879100bce4eb890
BLAKE2b-256 65f0aeb9e7d9f4533ca690ace6b0919b35a4d2ee6e3163fdf67554e1ca9b62bb

See more details on using hashes here.

File details

Details for the file tohtml_md-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: tohtml_md-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for tohtml_md-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c4f035a4a431050734b662f85679be33961bfd14e9f536dfd74696708de67ad0
MD5 9310fad043f104250020c3911593ec2e
BLAKE2b-256 2f586d6006d15acbd7505aae27e1637d93d8949a1e1ab104f725e9c162abd8ac

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