0

I am importing an external file using the "jekyll-asciidoc" plugin.

[source,groovy]
----
include::   {projectdir}/src/test/resources/examples/abc.groovy[tags=example1,indent=0]
----

Jekyll doesn't want to include that file because it is outside the folder of my website. That is the message:

asciidoctor: WARNING: include file has illegal reference to ancestor of jail, auto-recovering

How can I disable the asciidoctor "Safe Mode" from the Jekyll configuration file?

Yak O'Poe
  • 760
  • 4
  • 14

1 Answers1

1

You can try :

asciidoctor:
  safe: 0
David Jacquel
  • 51,670
  • 6
  • 121
  • 147