Skip to main content

Python command line application to convert Markdown to PDF.

Project description

mdpdf

License: MIT Code style: black

Python command line application to convert Markdown to PDF.

Project Features

  • Bare-bones: Only supports basic CommonMark
  • Not necessarily beautiful: Left-aligned, PDF-base14 fonts. Reasonably pretty, but if you want more control, see alternatives below.
  • Minimal requirements

Alternatives

There are several projects that can be considered if you need something with more features. Of note:

Installation

$ pip install mdpdf

Usage

$ mdpdf [options] [input-file]...

Where options are:

  • -o output file
  • -h header format
  • -f footer format

For example, specify the output file with the -o option:

$ mdpdf -o article.pdf article.md

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

mdpdf-0.0.5.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

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

mdpdf-0.0.5-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file mdpdf-0.0.5.tar.gz.

File metadata

  • Download URL: mdpdf-0.0.5.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

File hashes

Hashes for mdpdf-0.0.5.tar.gz
Algorithm Hash digest
SHA256 dd7d2310d7fcae3b753df2a9d87b1f23e2762b0ec843ba2c06e6eb8ac5b3c2bd
MD5 0e3f7fb1a729f4cb4a396b125e4f8221
BLAKE2b-256 2fad14794ed0355aa802ce3c3a4883c24be291b37185d50dabb265bbc4b734be

See more details on using hashes here.

File details

Details for the file mdpdf-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: mdpdf-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

File hashes

Hashes for mdpdf-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a3f493cbe2b3a6ce24a54b8aac7236be0be9de3d59048b5a4b53a948fa271ef2
MD5 4fad2f9daf23ed7240bb2156bb14d233
BLAKE2b-256 83b24f2de4a4661f9767f33358f936b1f691c4e7dd68e6331fd04f540712b6f5

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