The Prince pre-release builds now support Markdown documents!
Markdown supports embedded HTML snippets and also math notation in $inline$ or $$block$$ syntax (rendered using KaTeX). There are several new options:
Markdown documents can begin with metadata sections in YAML or TOML format:
Markdown is converted to HTML so you can style it with CSS and even process it with JavaScript before typesetting. Please let us know if you have any comments or feedback on this exciting new feature!
prince mydoc.md -o output.pdf
Markdown supports embedded HTML snippets and also math notation in $inline$ or $$block$$ syntax (rendered using KaTeX). There are several new options:
--markdown-superscript Enable superscript syntax in Markdown (^text^).
--markdown-subscript Enable subscript syntax in Markdown (~text~).
--no-markdown-smart-typography Disable smart quotes, dashes, and ellipses.
--no-markdown-math Disable automatic math rendering in Markdown.
Markdown documents can begin with metadata sections in YAML or TOML format:
---
title: Test Document
author: Jane Smith
lang: en
subject: Testing YAML front matter metadata
keywords: markdown, front matter, metadata, prince
date: 2026-01-15
---
+++
title = "TOML Front Matter Test"
date = 2026-01-26T11:36:15+10:00
+++
Markdown is converted to HTML so you can style it with CSS and even process it with JavaScript before typesetting. Please let us know if you have any comments or feedback on this exciting new feature!
