summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2021-08-29 01:57:55 -0600
committerDan Allen <dan.j.allen@gmail.com>2021-08-29 01:57:55 -0600
commitc65d2677228a79e7cb03df476ab0c1ab054bf8db (patch)
treeb169d9d481d49d2ae1d1c64a8c89da376d3b3d3b /docs
parentf1587e66ed2da687b4baf55cf328289539d75cf0 (diff)
show linenums as option instead of positional attribute in docs
Diffstat (limited to 'docs')
-rw-r--r--docs/modules/syntax-highlighting/pages/coderay.adoc2
-rw-r--r--docs/modules/syntax-highlighting/pages/pygments.adoc2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/modules/syntax-highlighting/pages/coderay.adoc b/docs/modules/syntax-highlighting/pages/coderay.adoc
index 7bd09251..ebe1a81c 100644
--- a/docs/modules/syntax-highlighting/pages/coderay.adoc
+++ b/docs/modules/syntax-highlighting/pages/coderay.adoc
@@ -86,7 +86,7 @@ Default: `table`.
:source-highlighter: coderay
:coderay-linenums-mode: inline
-[source,ruby,linenums]
+[source%linenums,ruby]
----
ORDERED_LIST_KEYWORDS = {
'loweralpha' => 'a',
diff --git a/docs/modules/syntax-highlighting/pages/pygments.adoc b/docs/modules/syntax-highlighting/pages/pygments.adoc
index 12e1b10b..605a8df9 100644
--- a/docs/modules/syntax-highlighting/pages/pygments.adoc
+++ b/docs/modules/syntax-highlighting/pages/pygments.adoc
@@ -70,7 +70,7 @@ Default: `table`.
:pygments-style: manni
:pygments-linenums-mode: inline
-[source,ruby,linenums]
+[source%linenums,ruby]
----
ORDERED_LIST_KEYWORDS = {
'loweralpha' => 'a',