Skip to content

Commit

Permalink
Backtick escaping fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmeow committed Apr 3, 2024
1 parent c0c5402 commit d7c481b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions proposals/p3797.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,14 +172,16 @@ prefix in order to restrict the lexing impact. In particular:
- Consistent with C#.
- We've also discussed using a `@` prefix for attributes, similar to
Python. Similar to `#`, this would be conflicting.
- <code>\`</code> wrapping, as in <code>\`identifier\`</code>.
- `` ` `` wrapping, as in `` `identifier` ``.

- Consistent with Swift.
- We prefer not to use backticks for Carbon syntax so that it is easy to
write in Markdown, which uses backticks for inline code. For example,
the label for this alternative requires inline html:
write in Markdown, which uses backticks for inline code. For example:

```
Use more backticks:
`` ` ``
Inline HTML:
<code>\`</code>
```

Expand Down

0 comments on commit d7c481b

Please sign in to comment.