|
Getting Started with Markdown to PDF Converter
|
The Markdown to PDF Converter component of the library allows you to convert Markdown documents to PDF.
You can set PDF page size, orientation and margins of the generated PDF document.
Additionally, you can add HTML headers and footers with page numbering to the generated PDF file
or generate a table of contents based on headings.
You can either enter a Markdown file URL (which can also be a local URL using the file:// prefix when running the demo on your machine),
or enter a Markdown string.
Images are reduced to the width of the page, long code lines are wrapped and Markdown tables take the width of the page.
For a document with an HTML block of a fixed width wider than the page, the Fit Wide Content to Page option scales
the whole content down to show that block entirely; to see the difference, replace Markdown_Document.md with
Markdown_Document_Wide_Content.md in the file URL below.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Content Wider than the Page
|
|
|
|
|
|
|
PDF Header and Footer Options
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|