Read the relevant documentation before guessing.

Essential Documentation References

Core Framework

Markdown Processing

Unified Ecosystem

AST Utilities

Important Pipeline Notes

  1. A complete unified pipeline needs three components:
    • Parser (e.g., remark-parse for markdown)
    • Transformers (your plugins)
    • Compiler (e.g., remark-stringify for markdown, rehype-stringify for HTML)
  2. Common Pipeline Patterns:
    js
    // Markdown to Markdown
    unified()
      .use(remarkParse)        // Parser
      .use(yourPlugin)         // Transform
      .use(remarkStringify)    // Compiler
    
    // Markdown to HTML
    unified()
      .use(remarkParse)        // Parse Markdown
      .use(remarkRehype)       // Transform to hAST
      .use(rehypeStringify)    // Compile to HTML
  3. AST Utility Usage:
    js
    // Converting between different AST types
    import {fromMarkdown} from 'mdast-util-from-markdown'
    import {toHast} from 'mdast-util-to-hast'
    import {toHtml} from 'hast-util-to-html'
    
    // Building ASTs programmatically
    import {u} from 'unist-builder'
    
    // Traversing and modifying ASTs
    import {visit} from 'unist-util-visit'

UI and Styling

Development Tools

Package Management

Version Control