diff options
author | Hubert Plociniczak <hubert.plociniczak@gmail.com> | 2016-10-26 15:53:33 +0200 |
---|---|---|
committer | Jesse Rosenthal <jrosenthal@jhu.edu> | 2016-11-08 09:29:46 -0500 |
commit | 13bc573e7f9e0602404dd37fec2c7cd14b5c56ee (patch) | |
tree | a00a7be544b104df4544ddfcd5301300476b78cc /tests/odt/native | |
parent | eced02d70e0a4e8d7dfa4c373a6c4d8a4cc08407 (diff) | |
download | pandoc-13bc573e7f9e0602404dd37fec2c7cd14b5c56ee.tar.gz |
Inline code when text has a special style
When a piece of text has a text 'Source_Text' then
we assume that this is a piece of the document
that represents a code that needs to be inlined.
Addapted an odt writer to also reflect that change;
previously it was just writing a 'preformatted' text using
a non-distinguishable font style.
Code blocks are still not recognized by the ODT reader.
That's a separate issue.
Diffstat (limited to 'tests/odt/native')
-rw-r--r-- | tests/odt/native/inlinedCode.native | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/odt/native/inlinedCode.native b/tests/odt/native/inlinedCode.native new file mode 100644 index 000000000..6e32ff7a9 --- /dev/null +++ b/tests/odt/native/inlinedCode.native @@ -0,0 +1 @@ +[Para [Str "Here",Space,Str "comes",Space,Code ("",[],[]) "inlined code",Space,Str "text",Space,Str "and",Space,Code ("",[],[]) "an another",Space,Str "one."]] |