This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/master by this push:
     new 11b663ac28 Update style-guide.adoc with 4 proper rendering of "`" 
character
11b663ac28 is described below

commit 11b663ac2862ba81e69202a66dfd315c965ffac7
Author: 靳阳 <[email protected]>
AuthorDate: Sat Nov 9 11:09:55 2024 +0800

    Update style-guide.adoc with 4 proper rendering of "`" character
    
    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
---
 src/spec/doc/style-guide.adoc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/spec/doc/style-guide.adoc b/src/spec/doc/style-guide.adoc
index 9315fab66b..5e3dc6c049 100644
--- a/src/spec/doc/style-guide.adoc
+++ b/src/spec/doc/style-guide.adoc
@@ -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]
 ----
@@ -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
 

Reply via email to