"J.D. Smith" <[email protected]> writes: > GFM includes 5 "alert" block types. I'd propose adding official support > for these in Org: > ... > See > https://iamroq.dev/posts/gfm-alert-blocks-styled-callouts-in-your-markdown/. > Pandoc already exports these block types from Org: > > https://github.com/jgm/pandoc/issues/9475 > > They could be styled like `quote', but with similar coloring as in the > above link.
Sure, they could be. But "coloring" is ambiguous. In ox-ascii, there is no color. In ox-latex, we probably do not want to hard-code color, but find some latex-specific equivalent. (Is there any?) In ox-html, it is just a question of styling the css. ox-md - no idea. We use vanilla md without these extras. ox-odt, again, need to find the best equivalent. So, your suggestion requires understanding how to generalize "alert" across various export backends. And color is not the best common medium. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>
