From 182b43ee445fdbb901941effe90e4e2247487489 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Wed, 7 Feb 2024 03:06:09 -0700 Subject: use ruby instead of rb as language on Ruby source block --- docs/modules/convert/pages/custom.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') 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 -- cgit v1.2.3