Skip to content

Commit

Permalink
Merge pull request #269 from marp-team/export-tagged-pdf
Browse files Browse the repository at this point in the history
Improve PDF accessibility by enabling --export-tagged-pdf Chromium option
  • Loading branch information
yhatt authored Aug 20, 2020
2 parents e0b157c + 465218f commit 4ba59a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/puppeteer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const generatePuppeteerDataDirPath = async (
}

export const generatePuppeteerLaunchArgs = () => {
const args = new Set<string>()
const args = new Set<string>(['--export-tagged-pdf'])

// Docker environment and WSL environment need to disable sandbox. :(
if (process.env.IS_DOCKER || isWSL()) args.add('--no-sandbox')
Expand Down

0 comments on commit 4ba59a1

Please sign in to comment.