mark-basic

::name :: produces a Mark wrapping the parsed inline content

§5.10 · source

Input

Hello ::marker world:: end

Output AST

- type: Paragraph
  children:
    - type: Text
      value: "Hello "
    - type: Mark
      name: marker
      children:
        - type: Text
          value: world
    - type: Text
      value: " end"