Open carlvon1800 opened 6 years ago
Same thing on Fedora. Exports on PDF include the file. Preview and exports on HTML give this error
In order to resolve an include file in a parent directory, you must set the safe mode of the add-on to "unsafe". The default is "safe". In safe mode, you can only resolve files inside the directory structure of the master file.
(Btw, this is true since the plugin sets the base directory option. If the base directory option was not set, then there would be no concept of a current directory and thus files could be resolved from anywhere. The base directory acts as a jail).
Description
Paths seems to have a lot of issues with this plugin, under Windows atleaste. I have tested the document with asciidoctor and it seems ok.
asciidoc-preview
version: 2.12.2language-asciidoc
version: 1.11.0Screenshots
Unresolved directive in - include::../test.adoc[]
Syntax example