Getting started
Installation
Install comark-pdf with pnpm, npm, or yarn. comark is a required peer dependency.
pnpm add comark-pdf comark
npm install comark-pdf comark
yarn add comark-pdf comark
comark is a peer dependency.
Optional peers
Some features need extra packages at runtime:
| Package | Used for |
|---|---|
mathjax-full | Math plugin — $…$ / $$…$$ as SVG instead of Courier source |
mermaid | Mermaid fences as SVG (may need DOM / happy-dom) |
@jasy/pdf | Direct jasy primitives in custom components |
See Plugins and Custom components.