examples/source-coderay.adoc in asciidoctor-revealjs-3.1.0 vs examples/source-coderay.adoc in asciidoctor-revealjs-4.0.0
- old
+ new
@@ -29,5 +29,20 @@
# My first Ruby program
# On my way to Ruby fame & fortune!
puts 'Hello, world!'
----
+
+== Highlight Lines
+
+// TODO linenums CSS negatively affects the output
+// TODO highlighting is invisible
+
+[source,ruby,highlight=2..5]
+----
+ORDERED_LIST_KEYWORDS = {
+ 'loweralpha' => 'a',
+ 'lowerroman' => 'i',
+ 'upperalpha' => 'A',
+ 'upperroman' => 'I',
+}
+----