Input
= H1 [link](..){.link-class}{} Output AST
- type: Section
level: 1
heading:
- type: Text
value: "H1 "
- type: Link
kind: external
href: ..
children:
- type: Text
value: link
attributes:
- key: class
value:
- link-class