Skip to content

Compatibility: fenced div syntax (::: classname ... :::) for block wrapping #56

Description

@Dev-Ray-Hunt

Goal

Support Pandoc-style fenced div syntax for wrapping arbitrary block content in a classed <div>.

Syntax

::: stat-block
## Goblin
| STR | DEX | CON |
|---|---|---|
| 8 | 14 | 10 |
:::

Expected Output

<div class="stat-block">
  <h2>Goblin</h2>
  <table>...</table>
</div>

Notes

  • Plugin: https://github.com/kotaindah55/extended-markdown-syntax
  • Most powerful method — wraps multiple blocks in a single classed container
  • Ideal for D&D stat blocks that combine headings, tables, and paragraphs
  • Closest to Pandoc fenced_divs extension
  • Would require detecting ::: delimiters and wrapping content between them

Metadata

Metadata

Assignees

No one assigned

    Labels

    compatibilityCompatibility with third-party plugins or standardsfeatNew feature

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions