-
-
Notifications
You must be signed in to change notification settings - Fork 179
Add fenced container extension #780
Copy link
Copy link
Closed
Description
Would it be possible to add a fenced container extension?
This would be a useful syntax for custom extensions, as discussed in the Generic directives/plugins syntax proposal.
The simplest form mirrors fenced code blocks, using colons instead of backticks:
:::foo bar
Lorem ipsum
:::The HTML output below is one possible rendering.
<div class="foo bar">
<p>Lorem ipsum</p>
</div>This syntax is already used in tools like Docusaurus and VuePress.
If this seems like a reasonable addition, I'd be happy to open a pull request.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels