Skip to content

Commit

Permalink
use ruby instead of rb as language on Ruby source block
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed Feb 7, 2024
1 parent 12b904b commit 92cf520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/modules/extend/pages/use-cases.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ You're reading a section that begins on page pagenum:[section].
Taking inspiration from this extension, we develop another inline macro named `pageref` that resolves the page number of the closest parent section of a reference.

.inline-pageref-macro.rb
[,rb]
[,ruby]
----
include::example$inline-pageref-macro.rb[]
----
Expand Down

0 comments on commit 92cf520

Please sign in to comment.