File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -29,12 +29,15 @@ asciidoc:
2929
3030In an Antora adoc page, include a remote file
3131
32- ```adoc
32+ ++++
33+ <pre><code class="language-cpp">
3334[source,cpp]
3435----
3536include::https://raw.githubusercontent.com/feelpp/asciidoctor-remote-include-processor/master/test/helloworld.cpp[]
3637----
37- ```
38+ </code>
39+ </pre>
40+ ++++
3841
3942which gives:
4043
@@ -48,12 +51,16 @@ include::https://raw.githubusercontent.com/feelpp/asciidoctor-remote-include-pro
4851In Asciidoctor we can include a source file partially using tags, see https://asciidoctor.org/docs/user-manual/#by-tagged-regions[here].
4952The extension enable this very feature.
5053
51- ```adoc
54+ ++++
55+ <pre>
56+ <code class="language-cpp">
5257[source,cpp]
5358----
5459include::https://raw.githubusercontent.com/feelpp/asciidoctor-remote-include-processor/master/test/helloworld.cpp[tag=hello]
5560----
56- ```
61+ </code>
62+ </pre>
63+ ++++
5764
5865which gives:
5966
You can’t perform that action at this time.
0 commit comments