← Plugins

Advanced Markdown

LaTeX formulas and optional code and table viewers for Paseo, with built-in Mermaid rendering

$ paseo plugin add custyhs/advanced-markdown
Report a bug
custyhsUtils52installs0.5.1Sourcenpm
Advanced Markdown screenshot 1Advanced Markdown screenshot 2Advanced Markdown screenshot 3

Render LaTeX formulas in Paseo assistant messages, with a viewer for zooming, inspecting source, and copying LaTeX or Markdown. Optional viewers add scrolling for long code lines and wide tables. Mermaid diagrams use Paseo's built-in renderer and viewer, including in messages that also contain formulas.

Formulas alongside Paseo's built-in Mermaid diagram

Formula viewer with preview, source, copy, and zoom controls

These screenshots show version 0.4.1 in a 390px browser on Paseo 0.15.0-beta.1 with the separate host integration fix. They are not native-device screenshots; the host fix is not included in the plugin.

Setup and controls

Both Paseo app and daemon must be at least 0.13.0. The daemon host needs Node 22.22 or later and npm. Math is enabled by default; code scrolling and table viewers are optional in Settings → Plugins → Advanced Markdown. Text and formula size can be adjusted separately. Settings are shared by clients connected to the same host.

Formulas render on the daemon using bundled assets, without Chrome or another browser. The plugin does not download software during activation or rendering. A font on the daemon host must cover non-Latin text used inside formulas. See the installation guide for font setup and supported environments.

Data access and limitations

The plugin reads assistant-message Markdown to render matching content, and reads each open chat's timeline through Paseo's API to find turn boundaries and copy whole turns; that index stays in memory. Formula expressions go to the selected Paseo daemon and rendered images return to the connected client; no external rendering service is used. Rendered images and formula assets are cached locally. Clicking a local file link requests a read-only preview from that host. Files are not read until the link is opened.

Code scrolling uses plain text in place of Paseo's syntax highlighting when enabled. Formula images support source copying but do not provide selectable mathematical glyphs or semantic MathML navigation. Mixed prose and inline formulas still use the plugin's Markdown layout.

Released Paseo clients build Copy, Fork, and work duration from native replies only. Under the final reply of a turn it draws, the plugin shows Copy turn and Show original; Show original hands the whole turn back to Paseo, with formulas as TeX source, so Paseo's own actions return. A host that keeps its footer for plugin-rendered replies (getpaseo/paseo#9253) shows Paseo's actions under typeset replies, and the plugin draws no footer. Native iOS/Android devices, Electron, and Windows remain unverified.