Skip to content

Commit 2984dc3

Browse files
hseglierdakil
authored andcommitted
Update invocations (--listings deprecated)
1 parent 8c5428e commit 2984dc3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ A list of variables follows.
688688
- `listings`: if True, generate code blocks for `listings` package.
689689
Only relevant for LaTeX output. `\usepackage{listings}` will be
690690
automatically added to `header-includes`. You need to specify
691-
`--listings` option as well.
691+
`--syntax-highlighting=idiomatic` option as well.
692692
- `codeBlockCaptions`: if True, parse table-style code block captions.
693693
- `autoSectionLabels`, default `false`: Automatically prefix all
694694
section labels with `sec:`. Note that this messes with pandoc's

mkinttest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ find test/m2m -iname 'input.md' -print | while read i; do
1010
listings=""
1111
standalone=""
1212
if [ "${bdn%%-*}" == "listings" ]; then
13-
listings="--listings"
13+
listings="--syntax-highlighting=idiomatic"
1414
fi
1515
if [ "${bdn%%-*}" == "standalone" ]; then
1616
standalone="--standalone"

0 commit comments

Comments
 (0)