Supported Markdown elements in md2pdf
masterThe md2pdf tool supports a wide range of standard Markdown elements for PDF generation, including:
- Text Styling: Emphasis using
*text*,**text**, or___text___. - Headings: Hierarchical headings from
# Heading Onedown to###### Heading Six. - Lists:
- Unordered lists using
-. - Ordered/numbered lists using
1.. - Support for nested sub-items in both list types.
- Unordered lists using
- Tables: Standard Markdown pipe tables.
- Code Blocks: Fenced code blocks with syntax highlighting support.
- Blockquotes: Support for blockquotes, including nested code blocks within them.
- Images: Inline images using
and images with optional titles. - Paragraphs: Standard text blocks. Note that the tool handles newlines within paragraphs by replacing them with spaces to maintain proper paragraph flow.