Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dahlia/markdown-gfm-admonition
An extension of Python Markdown that enables the admonition syntax of GFM
https://github.com/dahlia/markdown-gfm-admonition
admonition gfm python-markdown
Last synced: 5 days ago
JSON representation
An extension of Python Markdown that enables the admonition syntax of GFM
- Host: GitHub
- URL: https://github.com/dahlia/markdown-gfm-admonition
- Owner: dahlia
- License: lgpl-3.0
- Created: 2023-11-19T06:04:49.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-01T10:39:45.000Z (5 months ago)
- Last Synced: 2024-12-13T17:34:03.524Z (12 days ago)
- Topics: admonition, gfm, python-markdown
- Language: Python
- Homepage: https://pypi.org/project/markdown-gfm-admonition/
- Size: 12.7 KB
- Stars: 8
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
markdown-gfm-admonition
=======================[![PyPI][PyPI badge]][PyPI]
[![GitHub Actions status][GitHub Actions status badge]][GitHub Actions status]This package is an extension of [Python Markdown] that enables
the [admonition syntax of GitHub Flavored Markdown][1].There are five types of admonitions:
~~~~ markdown
> [!NOTE]
> Highlights information that users should take into account,
> even when skimming.> [!TIP]
> Optional information to help a user be more successful.> [!IMPORTANT]
> Crucial information necessary for users to succeed.> [!WARNING]
> Critical content demanding immediate user attention due to potential risks.> [!CAUTION]
> Negative potential consequences of an action.
~~~~It generates the same HTML as [Python Markdown's built-in admonition
extension][2]:~~~~ html
Note
Highlights information that users should take into account,
even when skimming.
~~~~[PyPI badge]: https://img.shields.io/pypi/v/markdown-gfm-admonition
[PyPI]: https://pypi.org/project/markdown-gfm-admonition/
[GitHub Actions status badge]: https://github.com/dahlia/markdown-gfm-admonition/actions/workflows/build.yaml/badge.svg
[GitHub Actions status]: https://github.com/dahlia/markdown-gfm-admonition/actions/workflows/build.yaml
[Python Markdown]: https://github.com/Python-Markdown/markdown
[1]: https://github.com/orgs/community/discussions/16925
[2]: https://python-markdown.github.io/extensions/admonition/