Documentation
¶
Overview ¶
Package comment is a placeholder for Obsite Markdown comment handling.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Strip ¶
Strip removes Obsidian %% ... %% comments before Markdown parsing.
The implementation keeps a small line-based state machine instead of trying to fully parse Markdown. It preserves indented code blocks and fenced code blocks, including those nested inside blockquote or list containers. Comment contents outside those code block forms are discarded, while newlines inside stripped comments are preserved so later parsing keeps stable line structure.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.