Skip to content

Commit d1df70d

Browse files
taylorarndtCopilot
andcommitted
fix: correct pandoc flag --syntax-highlighting to --highlight-style
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent b4b2784 commit d1df70d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build-epub.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ jobs:
2323

2424
- name: Install Pandoc
2525
run: |
26-
curl -sL https://github.com/jgm/pandoc/releases/download/3.6.4/pandoc-3.6.4-1-amd64.deb -o pandoc.deb
27-
sudo dpkg -i pandoc.deb
26+
sudo apt-get update -qq
27+
sudo apt-get install -y pandoc
2828
2929
- name: Set up Node.js
3030
uses: actions/setup-node@v4

scripts/build-epub.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ const epubCmd = [
119119
'--toc',
120120
'--toc-depth=2',
121121
'--split-level=1',
122-
'--syntax-highlighting=tango',
122+
'--highlight-style=tango',
123123
'--wrap=none',
124124
fileArgs
125125
].join(' \\\n ');

0 commit comments

Comments
 (0)