From d1444b4ecdd7bc2f3b6180ceb2635d51382c4ab8 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 17 Aug 2017 16:01:44 -0700 Subject: 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. --- test/command/3407.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test/command/3407.md (limited to 'test/command') diff --git a/test/command/3407.md b/test/command/3407.md new file mode 100644 index 000000000..3160d1263 --- /dev/null +++ b/test/command/3407.md @@ -0,0 +1,13 @@ +``` +% 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"]]] +``` -- cgit v1.2.3