Documentation
¶
Overview ¶
Command md2 converts markdown files to other formats (currently PDF).
Usage:
md2 [-o output] [-f format] input.md
If -o is omitted, the output filename is the input with its extension replaced by the format. If -f is omitted, the format is inferred from the output extension, defaulting to pdf.
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
converter
Package converter defines the conversion interface and a registry of available output formats.
|
Package converter defines the conversion interface and a registry of available output formats. |
|
converter/chrome
Package chrome renders markdown to PDF by printing a styled HTML document with a headless Chrome/Chromium browser.
|
Package chrome renders markdown to PDF by printing a styled HTML document with a headless Chrome/Chromium browser. |
|
converter/html
Package html renders markdown to a complete, styled HTML document.
|
Package html renders markdown to a complete, styled HTML document. |
|
converter/pdf
Package pdf renders markdown to PDF.
|
Package pdf renders markdown to PDF. |
|
converter/text
Package text renders markdown to readable plain text, stripping markup while preserving structure (headings, lists, code, tables).
|
Package text renders markdown to readable plain text, stripping markup while preserving structure (headings, lists, code, tables). |
Click to show internal directories.
Click to hide internal directories.