diff --git a/CHANGELOG.md b/CHANGELOG.md index 3224b374..62f787fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ ### Improvements - provide folding for list of sibling attributes by @apupier (#719) +- support remote includes when exporting in PDF without additional setting configuration (#731) ### Bug fixes 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