summaryrefslogtreecommitdiff
path: root/docs/modules/html-backend
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2020-11-30 18:21:31 -0700
committerSarah White <graphitefriction@gmail.com>2020-12-08 14:32:53 -0700
commitb5af8e2d8d66d24d9ac03d2bbfac66c74872ac78 (patch)
tree508c211abefab84e53530fe36549afdc6195c9df /docs/modules/html-backend
parent5f79e05fb9cc115e897a569de2eecbf35f962d33 (diff)
switch fenced code blocks to AsciiDoc source blocks and always set language
Diffstat (limited to 'docs/modules/html-backend')
-rw-r--r--docs/modules/html-backend/pages/custom-stylesheet.adoc8
-rw-r--r--docs/modules/html-backend/pages/stylesheet-modes.adoc4
-rw-r--r--docs/modules/html-backend/pages/verbatim-line-wrap.adoc2
3 files changed, 7 insertions, 7 deletions
diff --git a/docs/modules/html-backend/pages/custom-stylesheet.adoc b/docs/modules/html-backend/pages/custom-stylesheet.adoc
index c3615dfe..578681f4 100644
--- a/docs/modules/html-backend/pages/custom-stylesheet.adoc
+++ b/docs/modules/html-backend/pages/custom-stylesheet.adoc
@@ -30,7 +30,7 @@ Now let's use the `stylesheet` attribute to apply it.
The `stylesheet` document attribute must be set by the end of the header to be effective.
One way to do that is to set the attribute in the document header:
-[source]
+[source,asciidoc]
----
= My First Experience with the Dangers of Documentation
:stylesheet: my-stylesheet.css
@@ -77,7 +77,7 @@ Now we need to tell Asciidoctor where it's located using `stylesdir`.
The `stylesdir` document attribute must be set by the end of the header to be effective.
One way to do that is to set the attribute in the document header:
-[source]
+[source,asciidoc]
----
= My First Experience with the Dangers of Documentation
:stylesheet: my-stylesheet.css
@@ -190,14 +190,14 @@ Let's say you have three AsciiDoc documents saved in the following directory str
For [.path]_a.adoc_ and [.path]_b.adoc_, set `stylesdir` to:
-[source]
+[source,asciidoc]
----
:stylesdir: my-styles
----
For [.path]_c.adoc_, set `stylesdir` to:
-[source]
+[source,asciidoc]
----
:stylesdir: ../my-styles
----
diff --git a/docs/modules/html-backend/pages/stylesheet-modes.adoc b/docs/modules/html-backend/pages/stylesheet-modes.adoc
index 10672215..8b2fdd90 100644
--- a/docs/modules/html-backend/pages/stylesheet-modes.adoc
+++ b/docs/modules/html-backend/pages/stylesheet-modes.adoc
@@ -32,7 +32,7 @@ If the `linkcss` document attribute is set, the converter will take this hint to
The `linkcss` document attribute must be set by the end of the header to be effective.
One way to do that is to set the attribute in the document header:
-[source]
+[source,asciidoc]
----
= My First Experience with the Dangers of Documentation
:linkcss:
@@ -93,7 +93,7 @@ To prevent Asciidoctor from copying the stylesheet independent of safe mode, uns
The `copycss` document attribute must be unset by the end of the header to be effective.
One way to do that is to unset the attribute in the document header:
-[source]
+[source,asciidoc]
----
= My First Experience with the Dangers of Documentation
:linkcss:
diff --git a/docs/modules/html-backend/pages/verbatim-line-wrap.adoc b/docs/modules/html-backend/pages/verbatim-line-wrap.adoc
index f38b7daa..a032a193 100644
--- a/docs/modules/html-backend/pages/verbatim-line-wrap.adoc
+++ b/docs/modules/html-backend/pages/verbatim-line-wrap.adoc
@@ -30,7 +30,7 @@ include::example$wrap.adoc[tag=nowrap]
To prevent lines from wrapping globally, unset the `prewrap` attribute on the document.
.Disable prewrap globally (thus, enabling nowrap)
-[source]
+[source,asciidoc]
----
:prewrap!:
----