diff options
author | Nils Carlson <nils@nilscarlson.se> | 2020-11-23 06:23:30 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-22 22:23:30 -0800 |
commit | 75c881e2d97df015857a18ec46df0ecc17347778 (patch) | |
tree | 94d0f0e285528a9329a1f39e1975cd009a6b88aa /test | |
parent | 2e372ab921d9366e2b05f8c8ff16a86e1a9632e8 (diff) | |
download | pandoc-75c881e2d97df015857a18ec46df0ecc17347778.tar.gz |
OpenDocument Writer: Implement Div and Span ident support (#6755)
Spans and Divs containing an ident in the Attr will become bookmarks
or sections with idents in OpenDocument format.
Diffstat (limited to 'test')
-rw-r--r-- | test/command/6755.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/command/6755.md b/test/command/6755.md new file mode 100644 index 000000000..b6ff0fc0b --- /dev/null +++ b/test/command/6755.md @@ -0,0 +1,11 @@ +``` +%pandoc -f native -t opendocument +[Div ("divId",[],[]) + [Para [Str "Here",Space,Str "is",Space,Str "a",Space,Str "div."]], +Para [Span ("spanId",[],[]) [Str "And",Space,Str "here",Space,Str "is",Space,Str "a",Space,Str "span."]]] +^D +<text:section text:name="divId"><text:p text:style-name="Text_20_body">Here +is a div.</text:p></text:section> +<text:p text:style-name="Text_20_body"><text:bookmark-start text:name="spanId" />And +here is a span.<text:bookmark-end text:name="spanId" /></text:p> +``` |