pandoc/test/command/3407.md
John MacFarlane d1444b4ecd RST reader/writer: support unknown interpreted text roles...
...by parsing them as Span with "role" attributes.
This way they can be manipulated in the AST.

Closes #3407.
2017-08-17 16:01:44 -07:00

203 B

% pandoc -f native -t rst
[Para [Span ("",[],[("role","foo")]) [Str "text"]]]
^D
:foo:`text`
% pandoc -f rst -t native
:foo:`text`
^D
[Para [Span ("",[],[("role","foo")]) [Str "text"]]]