aboutsummaryrefslogtreecommitdiff
path: root/test/pptx/code
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2021-12-29 15:00:59 +0200
committerIgor Pashev <pashev.igor@gmail.com>2021-12-29 15:00:59 +0200
commitb4361712899fd0183fea5513180cb383979616de (patch)
tree688ab7ee2ab3a8cd32b4e37b506099aec95388f7 /test/pptx/code
parent726ad97faebe59e024d68d293e663c02bbe423c8 (diff)
parentd960282b105a6469c760b4308a3b81da723b7256 (diff)
downloadpandoc-b4361712899fd0183fea5513180cb383979616de.tar.gz
Merge https://github.com/jgm/pandoc
Diffstat (limited to 'test/pptx/code')
-rw-r--r--test/pptx/code/input.native21
-rw-r--r--test/pptx/code/output.pptxbin0 -> 29773 bytes
-rw-r--r--test/pptx/code/templated.pptxbin0 -> 42876 bytes
3 files changed, 21 insertions, 0 deletions
diff --git a/test/pptx/code/input.native b/test/pptx/code/input.native
new file mode 100644
index 000000000..be7f512f7
--- /dev/null
+++ b/test/pptx/code/input.native
@@ -0,0 +1,21 @@
+[Header 1 ("header-with-inline-code",[],[]) [Str "Header",Space,Str "with",Space,Code ("",[],[]) "inline code"]
+,CodeBlock ("",[],[]) "Code at level 0"
+,BulletList
+ [[Para [Str "Bullet",Space,Str "item",Space,Str "with",Space,Code ("",[],[]) "inline code"]
+ ,CodeBlock ("",[],[]) "Code block at level 1"
+ ,BulletList
+ [[Para [Str "with",Space,Code ("",[],[]) "nested"]
+ ,CodeBlock ("",[],[]) "lvl2\nlvl2\nlvl2"
+ ,Header 2 ("second-heading-level-with-code",[],[]) [Str "Second",Space,Str "heading",Space,Str "level",Space,Str "with",Space,Code ("",[],[]) "code"]]]]]
+,Header 1 ("syntax-highlighting",[],[]) [Str "Syntax",Space,Str "highlighting"]
+,CodeBlock ("",["haskell"],[]) "id :: a -> a\nid x = x"
+,BulletList
+ [[Para [Str "Nested"]
+ ,CodeBlock ("",["haskell"],[]) "g :: Int -> Int\ng x = x * 3"]]
+,Header 1 ("two-column-slide",[],[]) [Str "Two",Space,Str "column",Space,Str "slide"]
+,Div ("",["columns"],[])
+ [Div ("",["column"],[("width","50%")])
+ [BulletList
+ [[Plain [Str "A",Space,Str "total",Space,Str "alternative",Space,Str "for",Space,Code ("",[],[]) "head"]]]]
+ ,Div ("",["column"],[("width","50%")])
+ [CodeBlock ("",[],[]) "safeHead :: [a] -> Maybe a\nsafeHead [] = Nothing\nsafeHead (x:_) = Just x"]]]
diff --git a/test/pptx/code/output.pptx b/test/pptx/code/output.pptx
new file mode 100644
index 000000000..a3f31dfdc
--- /dev/null
+++ b/test/pptx/code/output.pptx
Binary files differ
diff --git a/test/pptx/code/templated.pptx b/test/pptx/code/templated.pptx
new file mode 100644
index 000000000..0d7db048f
--- /dev/null
+++ b/test/pptx/code/templated.pptx
Binary files differ