░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
pplmvsvm
LOCATION:
/usr/lib/python3/dist-packages/markdown_it/presets
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: __init__.py
__all__ = ("commonmark", "default", "zero", "js_default", "gfm_like") from . import commonmark, default, zero from ..utils import PresetType js_default = default class gfm_like: # noqa: N801 """GitHub 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-). """ @staticmethod def make() -> PresetType: config = commonmark.make() config["components"]["core"]["rules"].append("linkify") config["components"]["block"]["rules"].append("table") config["components"]["inline"]["rules"].extend(["strikethrough", "linkify"]) config["components"]["inline"]["rules2"].append("strikethrough") config["options"]["linkify"] = True config["options"]["html"] = True return config
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📁 __pycache__/
DIR
—
2026-03-10 17:33
📄 __init__.py
PY
970 B
2023-06-19 13:24
EDIT
📄 commonmark.py
PY
2.8 KB
2023-06-19 13:24
EDIT
📄 default.py
PY
1.8 KB
2023-06-19 13:24
EDIT
📄 zero.py
PY
2.1 KB
2023-06-19 13:24
EDIT