3 ms·
I'm not sure where you're getting that `::: section` syntax from. It doesn't appear anywhere in the CommonMark spec. Container blocks in Markdown are just thing
by Ajedi32 10y ago
I'm not sure where you're getting that `::: section` syntax from. It doesn't appear anywhere in the CommonMark spec. Container blocks in Markdown are just things like blockquotes and list items...
- leejoramo 10y agoLook like you are correct. I had thought the `::: section` syntax was a recommended approach (if not yet part of the formal spec). In the past, I have used various home grown solutions to this, but recently I have been using markdown-it and the accompanying plying markdown-it-container. On the CommonMark forums, I see that the ::: syntax is a leading contender, but that CommonMark itself will not address extensions to basic markdown until after the spec reaches 1.0 https://github.com/markdown-it/markdown-it-container https://github.com/markdown-it/markdown-it-container