Skip to content

Commit

Permalink
Update style-guide.adoc with 4 proper rendering of "`" character
Browse files Browse the repository at this point in the history
As mentioned in Example 6 in https://docs.asciidoctor.org/asciidoc/latest/syntax-quick-reference/#text-formatting, two consecutive "`" character can be used to render unconstrained italic
  • Loading branch information
fanofxiaofeng authored and paulk-asert committed Nov 9, 2024
1 parent dd12c64 commit 11b663a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/spec/doc/style-guide.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ and the resulting value will be null if something's `null`.
To check your parameters, your return values, and more, you can use the `assert` statement.
Contrary to Java's `assert`, `assert`s don't need to be activated to be working, so `assert`s are always checked.
Contrary to Java's `assert`, ``assert``s don't need to be activated to be working, so ``assert``s are always checked.
[source,groovy]
----
Expand Down Expand Up @@ -685,8 +685,8 @@ try {
----
[NOTE]
Note that it's catching all Exceptions, not `Throwable`s. If you need to really catch "everything",
you'll have to be explicit and say you want to catch `Throwable`s.
Note that it's catching all Exceptions, not ``Throwable``s. If you need to really catch "everything",
you'll have to be explicit and say you want to catch ``Throwable``s.
== Optional typing advice
Expand Down

0 comments on commit 11b663a

Please sign in to comment.