Documentation
¶
Overview ¶
Package mdfence lists the fenced code blocks of a Markdown message, in order: what the chief's session_context names a message's blocks by (docs/design/chief-in-agent-view.md, 4.1), so a kickoff written as one block (the handoff skill's) can be named {ref, block: k} instead of being copied.
It follows CommonMark's fenced code blocks where it matters for naming:
- an opening fence is three or more backticks or tildes, indented at most three spaces, followed by an optional info string whose first word is the block's language (a backtick fence's info string has no backtick);
- the block ends at a line of the SAME character, at least as long, with nothing else on it but spaces (indented at most three spaces);
- a block never closed runs to the end of the message.
Everything else of Markdown — lists, quotes, indented code — is not parsed: a fence inside a list item indented four or more spaces is not a block here.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.