Convert markdown files to PDF or HTML.
which node prince pdfunite pdfinfo
node --import tsx/esm md-to-pdf.ts input.md output.pdf
node --import tsx/esm md-to-html.ts input.md output.html
When generating a PDF with multiple pages, the converter will split the document in a way that the page break does not occur in the middle of a section.
At the left side of the page there is a bar with fun icons.
https://rehype-pretty.pages.dev/#usage adds support for syntax highlighting and custom highlighted sections.
https://github.com/Microflash/remark-callout-directives adds support for callout directives like :::note
and :::warning
.