aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
Diffstat (limited to 'test/command')
-rw-r--r--test/command/5182.md6
-rw-r--r--test/command/5182.txt5
2 files changed, 11 insertions, 0 deletions
diff --git a/test/command/5182.md b/test/command/5182.md
new file mode 100644
index 000000000..dc30a12ce
--- /dev/null
+++ b/test/command/5182.md
@@ -0,0 +1,6 @@
+```
+pandoc -f rst -t native
+.. include:: command/5182.txt
+^D
+[CodeBlock ("",["python","numberLines"],[]) "def func(x):\n return y"]
+```
diff --git a/test/command/5182.txt b/test/command/5182.txt
new file mode 100644
index 000000000..f1580ef0e
--- /dev/null
+++ b/test/command/5182.txt
@@ -0,0 +1,5 @@
+.. code::python
+ :number-lines:
+
+ def func(x):
+ return y