Re: Including an .adoc fragment placed in parent directory
Administrator
2681 posts
Yes, that's expected to work. But you need to make sure the safe mode is set to unsafe. Unsafe is the default for the CLI, but you need to declare it explicitly when using the API (safe: :unsafe).
I recommend always using forward slash as the file separator. It works on all operating systems.
include::../test.adoc[]
Best,
-Dan
On Tue, Oct 15, 2019 at 4:32 AM nopria [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Is it possible to include an .adoc fragment placed in the parent directory of the Asciidoctor document issuing the `include` command?
I tried
include::..\test.adoc[]
but it seems to not work.
Thanks.
If you reply to this email, your message will be added to the discussion below: