3 ms·
I'm never seen the `::: header` or `{width="200"}` kind of syntax before. Is this custom or Frankenstein solution? Or is there some
by bpev 7mo ago
I'm never seen the `::: header` or `{width="200"}` kind of syntax before. Is this custom or Frankenstein solution? Or is there some kind of md-extended pattern for defining components that has been gaining steam or smthn? Markdown tooling is always confusing, since everyone has their own standard.
- austinjp 7mo agoYep both are widely used. I forget which markdowns extensions they originated from. The Pandoc website probably has the details.
- phrotoma 7mo agoAye, I've seen these both in kramdown and quarto.
- rcarr 7mo agohttps://github.com/remarkjs/remark-directive https://github.com/remarkjs/remark-directive https://talk.commonmark.org/t/generic-directives-plugins-syntax/444 https://talk.commonmark.org/t/generic-directives-plugins-syn...
- rbbydotdev 7mo agoAdmonitions are :::, allows you do to do things like this, if you have custom parser, if not, your admonitions can fail gracefully as plain text :: gallery    ::