Login  Register

Include URI content

Posted by AsciiWriter on Mar 04, 2020; 1:22pm
URL: https://discuss.asciidoctor.org/Include-URI-content-tp7721.html

Dear AsciiDoc-Community

I'm fairly new to the AsciiDoc world and trying to find my way around the concepts.
So this issue of mine might be due to incompetence.

The issue:

----
some.adoc file content
= Some Title

include::another.adoc[]

include::https://mydomain.com/uri.adoc[]
----

----
pycharm IDE (with asciidoc plugin) preview and rendering

Some Title

Content of another.adoc

Unresolved Antora prefix 'https::'
----

----
atom editor (with asciidoc plugin) preview and rendering

Some Title

Content of another.adoc

https://mydomain.com/uri.adoc
----

The https://asciidoctor.org/docs/user-manual/ seems straight forward and with the methods stated there (asciidoctor -a allow-uri-read filename.adoc) I still get the same outcome for both. (safe mode was set to UNSECURE)

Could you help me figure out how to include files/web pages in my doc?

Thanks