github / cmark-gfm

GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C
Other
875 stars 171 forks source link

Document Alerts #350

Closed mfridman closed 9 months ago

mfridman commented 9 months ago

Any plans to update the documentation to include the custom extension of the blockquote syntax? I believe this is referred to as "Alerts".

Original discussion: https://github.com/orgs/community/discussions/16925

Relevant GH docs: https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts

wooorm commented 9 months ago

(I Don't work at gh)

This spec is about a fork of commonmark, that deals with extensions to how to parse markdown (e.g., tables).

Alerts are not implemented in this project. They don't relate to their parser. They don't relate to syntax. So they're not here.

They are implemented as a post processing step on a sort of "DOM" version of the resulting document.

GH does many things there. Lots of extra things. Documented on their help website

mfridman commented 9 months ago

Great, thanks for the clarification. Closing due to human error, sorry about that.