developing-mermaid-highlighting
Skill by TriliumNext
Use when changing how Mermaid diagram source is highlighted in Trilium's code editor — the Lezer grammars vendored in `packages/codemirror/src/languages/mermaid/` (`parsers/<diagram>/<diagram>.grammar`, `tokens.ts`, `highlight.ts`, `tags/`, the `mermaid` dispatcher grammar, `index.ts`), adding highlighting for a diagram type a newer Mermaid adds (from its Langium, Jison or Chevrotain parser), fixing a diagram that highlights wrongly, the `test/<diagram>.txt` fixtures, `scripts/build_mermaid_grammars.mts`, or the `text/vnd.mermaid` entry and the Markdown code-block wiring (`buildMarkdown()`) in `syntax_highlighting.ts`. Covers regenerating the committed parsers, the checklist for a new diagram type, the Lezer traps already hit (precedence beats length, external-tokenizer order, CRLF), and how to prove a grammar change (fixtures first, real Mermaid as the referee, tree comparison over a generated corpus). Includes tree.mts, fixtures.mts, compare.mts and langium.mts — don't write new parse-tree probes.
Install developing-mermaid-highlighting
Built from the published package, never by AI.
git clone --depth 1 https://github.com/TriliumNext/Trilium /tmp/Trilium && mkdir -p ~/.claude/skills && cp -r /tmp/Trilium/.claude/skills/developing-mermaid-highlighting ~/.claude/skills/developing-mermaid-highlightingRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install developing-mermaid-highlighting in Claude Code
git clone --depth 1 https://github.com/TriliumNext/Trilium /tmp/Trilium && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Trilium/.claude/skills/developing-mermaid-highlighting ~/.gemini/antigravity-cli/skills/developing-mermaid-highlightingAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install developing-mermaid-highlighting in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
Alternatives to developing-mermaid-highlighting
All alternatives →PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.
Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.
Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.
Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.
Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.
Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
developing-mermaid-highlighting: common questions
How do I install developing-mermaid-highlighting?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is developing-mermaid-highlighting free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is developing-mermaid-highlighting safe to use?
It scores 84 of 100. Grades: maintenance A, licence C, quality A. The security check has not run for it yet. Review the code before you install. How grades work.
What are alternatives to developing-mermaid-highlighting?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
