We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 114b79c commit 6033b99Copy full SHA for 6033b99
src/command/render/pandoc.ts
@@ -433,7 +433,9 @@ export async function runPandoc(
433
postprocessors.push(...(extras.postprocessors || []));
434
435
// Fix H1 title inconsistency
436
- htmlPostprocessors.push(canonicalizeTitlePostprocessor);
+ if (isHtmlFileOutput(options.format.pandoc)) {
437
+ htmlPostprocessors.push(canonicalizeTitlePostprocessor);
438
+ }
439
440
// add a keep-source post processor if we need one
441
if (
0 commit comments