Strip html comments
strip_html_comments
Strip-html-comments strategy — remove HTML comments from markdown/text.
StripHtmlCommentsStrategy
Bases: SmeltStrategy
Remove HTML comments from markdown and plain-text content.
Source code in packages/axm-smelt/src/axm_smelt/strategies/strip_html_comments.py
category
property
Strategy category (cosmetic).
name
property
Strategy identifier used in the registry.
apply(ctx)
Strip HTML comments outside fenced code blocks.