markdown_it.presets package#
- class markdown_it.presets.gfm_like[source]#
Bases:
objectGitHub Flavoured Markdown (GFM) like.
This adds the linkify, table and strikethrough components to CommmonMark.
Note, it lacks task-list items and raw HTML filtering, to meet the the full GFM specification (see https://github.github.com/gfm/#autolinks-extension-).
- static make() PresetType[source]#
- class markdown_it.presets.gfm_like2[source]#
Bases:
objectGitHub Flavoured Markdown (GFM) like, extended.
Builds on
gfm-likeand additionally enables:Task lists (
- [x] done)Alerts (
> [!NOTE])Single-tilde strikethrough (
~text~in addition to~~text~~)
- static make() PresetType[source]#