data/reference/syntax.adoc in asciidoctor-2.0.0.rc.3 vs data/reference/syntax.adoc in asciidoctor-2.0.0
- old
+ new
@@ -129,11 +129,11 @@
* [ ] not checked
=== Callout
// enable callout bubbles by adding `:icons: font` to the document header
-[source,ruby]
+[,ruby]
----
puts 'Hello, World!' # <1>
----
<1> Prints `Hello, World!` to the console.
@@ -186,10 +186,16 @@
====
example - a demonstration of the concept being documented
====
+.Toggle Me
+[%collapsible]
+====
+collapsible - these details are revealed by clicking the title
+====
+
****
sidebar - auxiliary content that can be read independently of the main content
****
....
@@ -198,10 +204,10 @@
----
listing - an exhibit that features program input, source code, or the contents of a file
----
-[source,language]
+[,language]
----
source - a listing that is embellished with (colorized) syntax highlighting
----
```language