Skip to content

Commit 7eb5359

Browse files
cdervclaude
andcommitted
Fix deprecated --highlight-style flag in preview-text.ts
Update to use --syntax-highlighting for Pandoc 3.8 compatibility. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent b6c494c commit 7eb5359

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/preview/preview-text.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ async function textPreviewHtml(file: string, req: Request) {
150150
const cmd = [pandocBinaryPath()];
151151
cmd.push("--to", "html");
152152
cmd.push(
153-
"--highlight-style",
153+
"--syntax-highlighting",
154154
textHighlightThemePath("atom-one", darkMode ? "dark" : "light")!,
155155
);
156156
cmd.push("--standalone");

0 commit comments

Comments
 (0)