{"id":15564090,"url":"https://github.com/dahlia/markdown-gfm-admonition","last_synced_at":"2026-03-04T20:32:49.958Z","repository":{"id":208020458,"uuid":"720648550","full_name":"dahlia/markdown-gfm-admonition","owner":"dahlia","description":"An extension of Python Markdown that enables the admonition syntax of GFM","archived":false,"fork":false,"pushed_at":"2025-11-28T09:00:30.000Z","size":33,"stargazers_count":12,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-28T15:36:02.777Z","etag":null,"topics":["admonition","gfm","python-markdown"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/markdown-gfm-admonition/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dahlia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-11-19T06:04:49.000Z","updated_at":"2025-11-28T09:00:33.000Z","dependencies_parsed_at":"2025-05-07T02:42:13.469Z","dependency_job_id":"f19acc26-e56c-4b29-bedb-315607021937","html_url":"https://github.com/dahlia/markdown-gfm-admonition","commit_stats":null,"previous_names":["dahlia/markdown-gfm-admonition"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/dahlia/markdown-gfm-admonition","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dahlia%2Fmarkdown-gfm-admonition","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dahlia%2Fmarkdown-gfm-admonition/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dahlia%2Fmarkdown-gfm-admonition/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dahlia%2Fmarkdown-gfm-admonition/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dahlia","download_url":"https://codeload.github.com/dahlia/markdown-gfm-admonition/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dahlia%2Fmarkdown-gfm-admonition/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30091779,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T19:41:02.502Z","status":"ssl_error","status_checked_at":"2026-03-04T19:40:05.550Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["admonition","gfm","python-markdown"],"created_at":"2024-10-02T16:36:17.522Z","updated_at":"2026-03-04T20:32:48.038Z","avatar_url":"https://github.com/dahlia.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"markdown-gfm-admonition\n=======================\n\n[![PyPI][PyPI badge]][PyPI]\n[![GitHub Actions status][GitHub Actions status badge]][GitHub Actions status]\n\nThis package is an extension of [Python Markdown] that enables\nthe [admonition syntax of GitHub Flavored Markdown][1].\n\nThere are five types of admonitions:\n\n~~~~ markdown\n\u003e [!NOTE]\n\u003e Highlights information that users should take into account,\n\u003e even when skimming.\n\n\u003e [!TIP]\n\u003e Optional information to help a user be more successful.\n\n\u003e [!IMPORTANT]\n\u003e Crucial information necessary for users to succeed.\n\n\u003e [!WARNING]\n\u003e Critical content demanding immediate user attention due to potential risks.\n\n\u003e [!CAUTION]\n\u003e Negative potential consequences of an action.\n~~~~\n\nIt generates the same HTML as [Python Markdown's built-in admonition\nextension][2]:\n\n~~~~ html\n\u003cdiv class=\"admonition note\"\u003e\n\u003cp class=\"admonition-title\"\u003eNote\u003c/p\u003e\n\u003cp\u003eHighlights information that users should take into account,\neven when skimming.\u003c/p\u003e\n\u003c/div\u003e\n~~~~\n\n[PyPI badge]: https://img.shields.io/pypi/v/markdown-gfm-admonition\n[PyPI]: https://pypi.org/project/markdown-gfm-admonition/\n[GitHub Actions status badge]: https://github.com/dahlia/markdown-gfm-admonition/actions/workflows/build.yaml/badge.svg\n[GitHub Actions status]: https://github.com/dahlia/markdown-gfm-admonition/actions/workflows/build.yaml\n[Python Markdown]: https://github.com/Python-Markdown/markdown\n[1]: https://github.com/orgs/community/discussions/16925\n[2]: https://python-markdown.github.io/extensions/admonition/\n\n\nUsage\n-----\n\nTo use this extension, you need to install it first:\n\n~~~~ bash\npip install markdown-gfm-admonition\n~~~~\n\nThen, you can use it in your Python code like this:\n\n~~~~ python\nfrom markdown import Markdown\nfrom markdown_gfm_admonition import GfmAdmonitionExtension\n\nmd = Markdown(extensions=[GfmAdmonitionExtension()])\nhtml = md.convert(\"\"\"\n\u003e [!NOTE]\n\u003e Highlights information that users should take into account,\n\u003e even when skimming.\n\"\"\")\n~~~~\n\n\u003e [!TIP]\n\u003e Instead of importing `GfmAdmonitionExtension` directly, you can use\n\u003e the entry point `\"gfm_admonition\"` as well to load the extension:\n\u003e\n\u003e ~~~~ python\n\u003e md = Markdown(extensions=[\"gfm_admonition\"])\n\u003e ~~~~\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdahlia%2Fmarkdown-gfm-admonition","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdahlia%2Fmarkdown-gfm-admonition","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdahlia%2Fmarkdown-gfm-admonition/lists"}