summaryrefslogtreecommitdiff
path: root/examples/chronicles-example.adoc
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2022-04-05 17:00:31 -0600
committerGitHub <noreply@github.com>2022-04-05 17:00:31 -0600
commita83b8200fdefb166b6dcee91be8cfafd57e6915a (patch)
tree5332ecf4f315fdd72bd0b97efcf0a96c2ce26ff0 /examples/chronicles-example.adoc
parent438961c6d0425685f8ca1278f8bc94225367c44a (diff)
resolves #2004 make delimited blocks breakable by default (PR #2020)
Diffstat (limited to 'examples/chronicles-example.adoc')
-rw-r--r--examples/chronicles-example.adoc12
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/chronicles-example.adoc b/examples/chronicles-example.adoc
index dc8a532c..4930e02c 100644
--- a/examples/chronicles-example.adoc
+++ b/examples/chronicles-example.adoc
@@ -71,7 +71,7 @@ Here's some &#x20ac;.
Crystalline XML tags relentlessly bombarded the theater.
.XML tags
-[source,xml]
+[,xml]
----
<author id="1">
<personname>
@@ -267,7 +267,7 @@ Install Prawn:
Then create your first PDF document in Ruby!
.Generates a basic PDF document using Prawn
-[source,ruby]
+[,ruby]
----
require 'prawn' # <1>
@@ -281,7 +281,7 @@ end
How about some source code that styles code? So meta!
-[source,css]
+[,css]
----
code {
padding: 2px 4px;
@@ -297,7 +297,7 @@ code {
Where could we go without some Java(TM)?
Naturally, some autosizing is necessary.
-[source%autofit%unbreakable,java]
+[%autofit,java]
----
package org.javaee7.cdi.events;
@@ -422,7 +422,7 @@ point.
Back to the previous example, suppose that we have both a field and a method with the same name, as in:
.Java class with a field and method that share the same name
-[source,java]
+[,java]
----
public class Foo {
public String bar;
@@ -437,7 +437,7 @@ public class Foo {
Hence, the following Golo code will resolve the `bar()` method, not the `bar` field:
.Golo picks the method over the field with the same name
-[source,golo]
+[,golo]
----
let foo = Foo()