API Reference#
- 1. The Mdformat Plugin Entry Point
- 2. Typed configuration schema for the MyST plugin
- 3. Reusable In-Process Conversion Sessions
- 4. The Typed Document Model (nodes, token bridge, and traversal)
BlockBreakBlockquoteBreakCodeCommentDefinitionDescriptionDefinitionListDefinitionTermDeleteDirectiveDocEmphasisFootnoteDefinitionFootnoteReferenceFrontMatterHeadingIgnoredEmbedHighlightImageInlineTypstRawInlineCodeInlineMathInlineUnknownLinkListListItemMathMappingGradeNodeParagraphRoleRootSpanStrongTableTableCellTableRowTargetTextThematicBreakTokenRawSyntaxRawTypstRawUnknownchildren_of()find_all()from_tokens()get()to_tokens()transform()visit()walk()walk_with_path()
- 5. Format Readers (source text -> typed Doc)
- 6. Format Writers (typed Doc -> target text)
- 7. The Degradation Engine (capability-driven lowering, annotate + report)
- 8. Collections (N documents, and the references between them)
- 9. Markdown Dialect Plugins (markdown-it rules + mdformat renderers)
- 10. The Assist Seam (opt-in, degrade-only LM suggestions)
- 11. The Configuration Layer (``myform.yaml`` + ``[tool.myform]`` + ``.py`` extensions)
- 12. Portable metadata for MyST editing
- 13. Command-line interface for translating and formatting documents with ``myform``
- 14. MyST Markdown to AST Parsing
- 15. AST to MyST Markdown Rendering
- 16. Rendered Markdown Text Postprocessing
- 17. Fold-aware Markdown table rendering
- 18. Render list spelling from source precedent without merging lists
- 19. Semantic Line Break (SemBr) Paragraph Reflow
- 20. Skip-formatting ("ignore") comments -- the mdformat #53 gap, filled for MyST
- 21. Declarative Inter-Block Spacing Policies
- 22. Shared safe-Setext policy for CommonMark-family readers
- 23. Shared lightweight Markdown engine construction, independent of the typed document model
- 24. Editor-independent text actions and background Markdown facts
ContextEditFactsFenceHeaderIdxMentionIncludeSiteInlineFactsInlineSpanLinkLinkDefinitionModeNotePipeTableResultSectionSectionExtractionTableTableGhostWindowact()action_window()add_directive_option()change_directive()close_fence()define_note()directive_options()extract_section()fence_line()fence_mark()fence_precedent()find_window()header_at()idx_headings()idx_mentions()include_site()inline_include()inline_note()is_table_delimiter()is_table_line()list_marker()match_fence()may_have_idxs()new_directive()new_fence()new_target()next_note_label()note_at()note_jumps()outline()parse_mention()plan_list_refactors()preview_idxs()read_table()rebalance_fences()resolve_idx_spec()scan_facts()scan_inline_facts()scan_links()section_at()section_destination()slugify()table_export()table_ghost()target_label()web_url()
- 25. Resolve Markdown style from bounded source facts
- 26. Conserve Markdown text before dependency parsers can discard it
- 27. Markdown-It Rule Ordering Tables
- 28. Regex and Registration Utilities