Layout-aware Markdown
The plugin supports structural layout directives directly in Markdown.
Opening directives
:::section:::2col:::3col
Closing directives
:::closes the current layout scope:::endcolexplicitly closes the active grid:::endcloses the current section and any nested grids:::endsectioncloses the current section and any nested grids
Example
1%%VL_OPEN:section%%23# Interfaces Without Friction45Short intro text here.67%%VL_OPEN:3col%%89## Native CLI1011Scriptable. Fast. Lives where you work.1213## WebSocket Core1415Real-time by design. Not bolted on later.1617## Web UI1819Clean, responsive, API-first.2021%%VL_CLOSE%%2223# Synchronization That Makes Sense2425More section-level content here.2627%%VL_OPEN:3col%%2829## Cache3031Pull what you need. Drop what you don’t.3233## Sync3435Two-way. Conflict-aware.3637## Mirror3839One-way truth. Perfect for backups.4041## Close the section with (option 1)42::: <-- this will close the column grid -->4344::: <-- this will close the section -->4546## Close the section with (option 2)47:::end <-- this will close the section and any open grids -->4849## Close the section with end of component (option 3)50### Simply leave the end of the field/block open and it will close51
Layout rules
Grids are heading-aware relative to where they open.
If a grid opens under a heading of depth N, then:
- headings at depth
N + 1are treated as cell boundaries - deeper headings stay nested inside the current cell
- grids can be explicitly closed with
:::endcol - a section can close all nested grids with
:::endor:::endsection
Recommendation
Keep grid opens explicit.
Open a new :::2col or :::3col when you want a new grid region.
