Commit b667ecae authored by Dan Allen's avatar Dan Allen
Browse files

use indent to display an escaped include directive (PR #48)

Authored by: Younes-L <Younes-L@users.noreply.github.com>
parent 7a504cf0
......@@ -61,8 +61,10 @@ See xref:asciidoctor::safe-modes.adoc[] to learn more.
If you don't want the include directive to be processed, you must escape it using a backslash.
// NOTE: the following listing uses indentation to prevent the directive from being processed
[indent=0]
----
\include::just-an-example.ext[]
\include::just-an-example.ext[]
----
Escaping the directive is necessary _even if it appears in a verbatim block_ since it's not aware of the surrounding document structure.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment