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.6.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.6-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mdpdf-0.0.6.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/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

File hashes

Hashes for mdpdf-0.0.6.tar.gz
Algorithm Hash digest
SHA256 a985376f4be1a2b486c1b7954f1b8598d666f97356784b994778e70c0e32a6d1
MD5 be1a6a7aa7342b70d85ae74716e57e32
BLAKE2b-256 f19b89a552c9efc70c3179f744b1b4c72d2ee4cfd5f57d2d1a4d473ca6aa9fca

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mdpdf-0.0.6-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/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

File hashes

Hashes for mdpdf-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 48e4408e7dde76fb4f9ebc9a2fd88040b2f09fbe4b39772da4dfd02d766affd0
MD5 76235a4d5beb17e614ed7855159b9ac0
BLAKE2b-256 1586bfb205f81bfa84e2f1e3988e76316d0eea43f0ab337e611e8f2fb1a74766

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