1. Introduction
  2. Getting Started
    1. Install
    2. Development
    3. Syntax Highlighting
    4. Playground
    5. TUI
    6. Web crawler
    7. MCP
    8. Web API
    9. Debugger
    10. External Subcommands
    11. Language Bindings
    12. Example
    13. Modules
  3. Cookbook
    1. Generate a table of contents from headings
    2. Extract code blocks by language
    3. Extract a specific row from a table
    4. Get the Nth item from every list
    5. Extract MDX components
    6. Extract all URLs from links
    7. Find images missing alt text
    8. Extract blockquotes as pull quotes
    9. Extract footnote definitions
    10. Find raw HTML blocks
    11. Extract a section by its heading
    12. Keep only sections at a given heading level
    13. Split a document into chunks at a heading level
    14. Delete a section by its heading
    15. Find sections that have no content
    16. Extract all tables from a document
    17. Add a row to a table
    18. Convert a Markdown table to CSV
    19. Convert CSV to a Markdown table
    20. Reshape a table between wide and long form
    21. Write a reusable custom function
    22. Transform, filter, and reduce arrays
    23. Extract frontmatter metadata
    24. Bump a version string across a file
    25. Track task-list (checkbox) progress
    26. Count words in a document
    27. Inline local images as base64
    28. Merge multiple Markdown files into one stream
    29. Control when large file sets run in parallel
    30. Generate an XML sitemap from Markdown files
    31. Trim a document down to LLM-sized context
    32. Generate document statistics
  4. Reference
    1. CLI
    2. Values and Types
    3. Conditionals and Comparisons
      1. Conditionals
      2. Comparisons
      3. Try-Catch
    4. Syntax
      1. Comments
      2. Control flow
      3. Pattern Matching
      4. Operators
      5. Assignment Operators
      6. Functions
      7. Macros
      8. Environment variables
      9. Modules and imports
      10. Variable Declarations
      11. Self
      12. String Interpolation
      13. Selectors
      14. Nodes
    5. Builtin selectors and functions