code-block-inside-listitem

CodeBlock inside a list item is legal; list item's base offset (2 spaces) is stripped from content lines

§4.4

Input

- item

  ```js
  const x = 1
  ```

Output AST

- type: List
  kind: bullet
  loose: true
  children:
    - type: ListItem
      children:
        - type: Paragraph
          children:
            - type: Text
              value: item
        - type: CodeBlock
          language: js
          raw: const x = 1