$...$, $$...$$), not ASCII approximations#, ##) are NOT parsed. Use --title="..." for the page title; use plain text for section headers (e.g., 1) ...)out/_scratch/notes/note.md)$...$$$Details: references/formatting.md
Scripts:
scripts/render_note_png.js — single-page PNGscripts/render_note_pages.sh — multi-page (splits into multiple PNGs)Single-page steps:
1) Write your note (e.g. out/_scratch/notes/note.md)
2) Render (keep outputs in out/ to avoid cluttering repo root):
node skills/math-notes-katex/scripts/render_note_png.js out/_scratch/notes/note.md out/katex/note.png --title="Topic" --brave=/usr/bin/brave-browser3) Send out/katex/note.png
Multi-page (when the note does not fit well into one image):
skills/math-notes-katex/scripts/render_note_pages.sh \
out/_scratch/notes/note.md out/katex/note_pages "Topic" /usr/bin/brave-browser
This produces:
out/katex/note_pages/page-001.png, page-002.png, ...katex.min.css + fonts (fonts/...)file:///.../katex.min.css path so relative fonts/ resolve correctlyIf formulas look broken: references/troubleshooting.md
共 1 个版本