ox_content_parser 2.70.0

High-performance Markdown parser for Ox Content
Documentation
---
source: crates/ox_content_parser/tests/snapshot_parse.rs
assertion_line: 32
description: "# Project README\n\nA short blurb with **bold**, *italic*, and `code`.\n\n## Install\n\n```bash\nnpm install ox-content\n```\n\n## Usage\n\n- Step one\n- Step two\n  - Sub-step a\n  - Sub-step b\n\n> Tip: read the docs.\n\n| col | val |\n| --- | --- |\n| a   | 1   |\n| b   | 2   |\n\nSee the [website](https://example.com).\n"
---
Document [0..301]
  Heading depth=1 [0..17]
    Text "Project README" [2..16]
  Paragraph [18..69]
    Text "A short blurb with " [18..37]
    Strong [37..45]
      Text "bold" [39..43]
    Text ", " [45..47]
    Emphasis [47..55]
      Text "italic" [48..54]
    Text ", and " [55..61]
    InlineCode "code" [61..67]
    Text "." [67..68]
  Heading depth=2 [70..81]
    Text "Install" [73..80]
  CodeBlock lang=Some("bash") meta=None value="npm install ox-content\n" [82..117]
  Heading depth=2 [118..127]
    Text "Usage" [121..126]
  List ordered=false start=- spread=false [128..180]
    ListItem spread=false checked=- [128..139]
      Paragraph [130..139]
        Text "Step one" [130..138]
    ListItem spread=false checked=- [139..180]
      Paragraph [141..150]
        Text "Step two" [141..149]
      List ordered=false start=- spread=false [150..176]
        ListItem spread=false checked=- [150..163]
          Paragraph [152..163]
            Text "Sub-step a" [152..162]
        ListItem spread=false checked=- [163..176]
          Paragraph [165..176]
            Text "Sub-step b" [165..175]
  BlockQuote [181..203]
    Paragraph [0..20]
      Text "Tip: read the docs." [0..19]
  Table align=[none,none] [204..260]
    TableRow [0..0]
      TableCell [0..0]
        Text "col" [0..3]
      TableCell [0..0]
        Text "val" [0..3]
    TableRow [0..0]
      TableCell [0..0]
        Text "a" [0..1]
      TableCell [0..0]
        Text "1" [0..1]
    TableRow [0..0]
      TableCell [0..0]
        Text "b" [0..1]
      TableCell [0..0]
        Text "2" [0..1]
  Paragraph [261..301]
    Text "See the " [261..269]
    Link url="https://example.com" title=None [269..299]
      Text "website" [270..277]
    Text "." [299..300]