emphasis-spanning-lines

Soft break inside an inline block is folded to zero; trailing space before NL preserves word boundary inside inline blocks

§5.12 · source

Input

__bold 
continuation__ and __nospace
continuation__

Output AST

- type: Paragraph
  children:
    - type: Emphasis
      children:
        - type: Text
          value: bold continuation
    - type: Text
      value: " and "
    - type: Emphasis
      children:
        - type: Text
          value: nospacecontinuation