Python-Markdown / markdown

A Python implementation of John Gruber’s Markdown with Extension support.
https://python-markdown.github.io/
BSD 3-Clause "New" or "Revised" License
3.71k stars 856 forks source link

GFM alerts #1456

Closed cdbdev closed 5 months ago

cdbdev commented 5 months ago

Hello,

I recently came across GFM alerts. Apparently it's a recent feature:

https://github.blog/changelog/2023-12-14-new-markdown-extension-alerts-provide-distinctive-styling-for-significant-content/

Are there any plans to incorporate this through a new extension? Or are admonitions the way to go?

Thank you for your feedback

facelessuser commented 5 months ago

If you have a desire for GitHub style alerts, this might be the closest thing: https://github.com/oprypin/markdown-callouts.

Generally, Python Markdown supports addon behavior through 3rd party extensions. Python Markdown is not meant to be the single repo that implements all the various Markdown variants out there. It supports a few extensions in the base, and the community provides the rest via 3rd party extensions.

cdbdev commented 5 months ago

If you have a desire for GitHub style alerts, this might be the closest thing: https://github.com/oprypin/markdown-callouts.

Generally, Python Markdown supports addon behavior through 3rd party extensions. Python Markdown is not meant to be the single repo that implements all the various Markdown variants out there. It supports a few extensions in the base, and the community provides the rest via 3rd party extensions.

Ok thank you for your explanation