From bec66a737ad8ac64ef42df39535334d7d58085c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Pupier?= Date: Fri, 30 Jun 2023 16:25:00 +0200 Subject: [PATCH] Support remote includes for PDF export MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit part of #731 Signed-off-by: Aurélien Pupier --- src/commands/exportAsPDF.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/commands/exportAsPDF.ts b/src/commands/exportAsPDF.ts index 3b9a1d28..df11168e 100644 --- a/src/commands/exportAsPDF.ts +++ b/src/commands/exportAsPDF.ts @@ -64,6 +64,8 @@ ${text}` `"${baseDirectory.replace('"', '\\"')}"`, // base directory '-o', `"${pdfOutputPath.replace('"', '\\"')}"`, // output file + '-a', + 'allow-uri-read', ] const args = defaultArgs.concat(asciidoctorPdfCommandArgs) .concat(['-']) // read from stdin