Example 1
$ comrak -e link-attributes --attributes --unsafe -t commonmark -t xml

Comrak
Example 2
$ comrak -e link-attributes --attributes -t commonmark -t xml

Comrak
Example 3
$ comrak -e link-attributes --unsafe -t commonmark -t xml

Comrak