@paraharness/markdown
Variables
| Variable | Description |
|---|---|
| markdownExecutors | Default frozen @paraharness/markdown runtime executor registry slice (markdownExecutors). |
| md | Frozen @paraharness/markdown builder namespace (md.*). |
Functions
| Function | Description |
|---|---|
| createMarkdownExecutors | Creates the @paraharness/markdown runtime executor registry slice. |
| createMdFrontmatterBuilder | Builds a MdFrontmatterSourceBuilder<T> for md.frontmatter(pathOrGlob). |
| createMdGlobalRulesBuilder | Builds a MdFrontmatterSourceBuilder<readonly GlobalRule[]> for md.globalRules(glob). |
| createMdScopedRuleBuilder | Builds a MdFrontmatterSourceBuilder<ScopedRule> for md.scopedRule(path). |
| createMdScopedRulesBuilder | Builds a MdFrontmatterSourceBuilder<readonly ScopedRule[]> for md.scopedRules(glob). |
| createMdSectionBuilder | Builds a MdSectionSourceBuilder<T> for md.section(path, heading). |
| createMdSkillBuilder | Builds a MdFrontmatterSourceBuilder<SkillNode<THandle>> for md.skill(path). |
| createMdSkillsBuilder | Builds a MdFrontmatterSourceBuilder<readonly SkillNode<THandle>[]> for md.skills(glob). |
| executeMarkdownFrontmatterSource | Executes a MarkdownFrontmatterSourceNode<T> against the immutable host repository root (SPEC.md §3.4, §4.5). |
| executeMarkdownSectionSource | Executes a MarkdownSectionSourceNode<T> against the immutable host repository root (SPEC.md §4.5). |
| extractMarkdownHeadingSection | Extracts the Markdown body text under a specific ATX heading up to the next heading of equal or higher rank. |
| parseMarkdownFrontmatter | Parses leading YAML frontmatter and body content from a raw Markdown string via mdast and yaml. |
Interfaces
| Interface | Description |
|---|---|
| MarkdownFrontmatterSourceNode | Passive AST node loading frontmatter-annotated rules or skills from Markdown files (md.*). |
| MarkdownSectionSourceNode | Passive AST node extracting a specific Markdown heading section from a document (md.section). |
| MdFrontmatterSourceBuilder | Fluent builder and passive AST descriptor for Markdown frontmatter sources (md.*). |
| MdNamespace | Public builder namespace contract for @paraharness/markdown (md.*). |
| MdSectionSourceBuilder | Fluent builder and passive AST descriptor for Markdown heading section sources (md.section). |
| ParsedMarkdownDocument | Parsed representation of a Markdown document with optional YAML frontmatter. |