ceylon-lang.org icon indicating copy to clipboard operation
ceylon-lang.org copied to clipboard

missing explanation

Open loldrup opened this issue 8 years ago • 2 comments

This document section uses single backticks in string literals without prior explanation:

https://ceylon-lang.org/documentation/1.3/tour/basics/#numbers

According to the documentation on string literals, backticks must always be escaped:

https://ceylon-lang.org/documentation/reference/literal/string/

So, when a single backtick isn't escaped, what does it then mean? (The first document should explain that)

loldrup avatar Jan 23 '17 17:01 loldrup

Hm, the reference is wrong, a single backtick has no special meaning (in a Markdown doc string, it means a bit of code), and doesn’t need to be escaped.

lucaswerkmeister avatar Jan 23 '17 17:01 lucaswerkmeister

However, a double backtick has to be escaped, see the specification

Papershine avatar Aug 04 '17 13:08 Papershine