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 8e86bc8 commit 8c64c07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/modules/convert/pages/custom.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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
Expand Down

0 comments on commit 8c64c07

Please sign in to comment.