diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2024-02-07 03:06:09 -0700 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2024-02-07 03:06:09 -0700 |
| commit | 182b43ee445fdbb901941effe90e4e2247487489 (patch) | |
| tree | 88376a2c7741ecd673f0b99a853c13015269d84a /docs | |
| parent | 34bc388341b470bf0290b0b0f9efd67b192460da (diff) | |
use ruby instead of rb as language on Ruby source block
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/modules/convert/pages/custom.adoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/modules/convert/pages/custom.adoc b/docs/modules/convert/pages/custom.adoc index 289b87dc..1c2953a7 100644 --- a/docs/modules/convert/pages/custom.adoc +++ b/docs/modules/convert/pages/custom.adoc @@ -366,7 +366,7 @@ Otherwise, it's up to the converter to decide whether to append a trailing newli If you don't register the converter with a backend, you can pass the converter class (or instance) using the `:converter` option of the xref:api:index.adoc[Asciidoctor API], as shown in the following code snippet: -[,rb] +[,ruby] ---- require 'asciidoctor' require_relative 'dita-converter.rb' @@ -384,7 +384,7 @@ Since there's no single definition of what "plain text" is, this is a perfect op Begin by defining a `TextConverter` that is registered with the `text` backend, as follows: .text-converter.rb -[,rb] +[,ruby] ---- class TextConverter include Asciidoctor::Converter |
