fix: parse class suffixes, labeled dotted/thick links, and frontmatter

This commit is contained in:
Matt Van Horn
2026-08-11 19:31:39 -07:00
parent 9e50da6d67
commit a4be5bed0d
3 changed files with 94 additions and 4 deletions
@@ -63,7 +63,7 @@ Load the selected `type-*.md`. Override the grammar only when the content disagr
- Start from a blank `viewBox` selected by the size preset. Mermaid positions do not exist in the source, and a renderer's positions must not be recreated.
- Use semantic treatments from the chosen type. A Mermaid cylinder becomes Store/State; a rhombus stays a decision only in a flowchart; subgraphs become zones or collapsible groups.
- Ignore init themes, `style`, `classDef`, `class`, and `linkStyle`. One accent plus the ink ramp replaces the source theme.
- Ignore init themes, `style`, `classDef`, `class`, inline `:::class` attachments, and `linkStyle`. One accent plus the ink ramp replaces the source theme. A leading `---` frontmatter block is title/config, so it is skipped with the same reasoning.
- Reroute all connections with the SKILL.md §6 connector rules. Mermaid edge length markers are ranking hints, not content.
- Do not add a component merely to fill space. Imports remain bounded by source meaning.