summaryrefslogtreecommitdiff
path: root/docs/modules/extensions/pages/include-processor.adoc
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2023-05-28 23:52:09 -0600
committerDan Allen <dan.j.allen@gmail.com>2023-05-29 00:11:22 -0600
commit638f678cc2353e5a5c553d1bc600bbed5919a102 (patch)
tree7c7382e79aadc981948f0aba4bbc063afed45fe7 /docs/modules/extensions/pages/include-processor.adoc
parent377c7ba631433a33e9fc17f27ee3f76cf5c2a162 (diff)
remove explicit source style in docs when not needed
Diffstat (limited to 'docs/modules/extensions/pages/include-processor.adoc')
-rw-r--r--docs/modules/extensions/pages/include-processor.adoc6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/modules/extensions/pages/include-processor.adoc b/docs/modules/extensions/pages/include-processor.adoc
index cf627562..4c7ed13d 100644
--- a/docs/modules/extensions/pages/include-processor.adoc
+++ b/docs/modules/extensions/pages/include-processor.adoc
@@ -13,7 +13,7 @@ TIP: Asciidoctor supports including content from a URI out of the box if you set
:source-highlighter: coderay
.Gemfile
-[source,ruby]
+[,ruby]
----
\include::https://cdn.jsdelivr.net/gh/asciidoctor/asciidoctor/Gemfile[]
----
@@ -21,7 +21,7 @@ TIP: Asciidoctor supports including content from a URI out of the box if you set
== UriIncludeProcessor
-[source,ruby]
+[,ruby]
----
class UriIncludeProcessor < Asciidoctor::Extensions::IncludeProcessor
def handles? target
@@ -38,7 +38,7 @@ end
== Usage
-[source,ruby]
+[,ruby]
----
Asciidoctor::Extensions.register do
include_processor UriIncludeProcessor