Skip to content

Commit

Permalink
Support remote includes for PDF export
Browse files Browse the repository at this point in the history
part of asciidoctor#731

Signed-off-by: Aurélien Pupier <apupier@redhat.com>
  • Loading branch information
apupier committed Jul 4, 2023
1 parent 6a03eeb commit 738174f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions src/commands/exportAsPDF.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 738174f

Please sign in to comment.