Input
[**bold** {.foo}](url) Output AST
- type: Paragraph
children:
- type: Link
kind: external
href: url
children:
- type: Strong
children:
- type: Text
value: bold
attributes:
- key: class
value:
- foo