aboutsummaryrefslogtreecommitdiff
path: root/test/docbook-reader.native
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2021-10-14 15:15:25 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2021-10-14 09:04:56 -0700
commit628cde48cf54d806508869a9d6f4307efc266ef2 (patch)
tree104496d6b86d36ff437362cb7f6c7e44ad950160 /test/docbook-reader.native
parented8877bd687333657b82864d609f4db69743c165 (diff)
downloadpandoc-628cde48cf54d806508869a9d6f4307efc266ef2.tar.gz
DocBook reader: honor linenumbering attribute
The attribute DocBook linenumbering="numbered" attribute on code blocks maps to "numberLines" internally.
Diffstat (limited to 'test/docbook-reader.native')
-rw-r--r--test/docbook-reader.native3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/docbook-reader.native b/test/docbook-reader.native
index c8d59ca82..be3819336 100644
--- a/test/docbook-reader.native
+++ b/test/docbook-reader.native
@@ -266,6 +266,9 @@ Pandoc
]
, CodeBlock
( "" , [] , [] ) "sub status {\n print \"working\";\n}"
+ , CodeBlock
+ ( "" , [ "numberLines" ] , [] )
+ "sub status {\n print \"working with line numbers\";\n}"
, CodeBlock ( "" , [] , [] ) "% ls"
, Para [ Str "A" , Space , Str "list:" ]
, OrderedList