Install
openclaw skills install math-notes-katexRender math-heavy notes to PNG using KaTeX (LaTeX) + headless Brave. Use when the user asks for a clean “solution/конспект as an image”, “formulas as a picture”, or when chat formatting is insufficient (e.g., Telegram). Not for normal text replies.
openclaw skills install math-notes-katex$...$, $$...$$), 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:
out/_scratch/notes/note.md)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-browserout/katex/note.pngMulti-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