Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

missing explanation #455

Open
loldrup opened this issue Jan 23, 2017 · 2 comments
Open

missing explanation #455

loldrup opened this issue Jan 23, 2017 · 2 comments

Comments

@loldrup
Copy link

loldrup commented Jan 23, 2017

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)

@lucaswerkmeister
Copy link
Contributor

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.

@Papershine
Copy link
Contributor

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants