```
pandoc -t asciidoc
[foo *bar*]{.small .red key=val}
^D
[.small .red]#foo _bar_#
```

```
pandoc -f html -t asciidoc
<small>SMALL</small>
^D
[.small]#SMALL#
```