unison/unison-src/transcripts/name-segment-escape.output.md
Greg Pfeil 0031542faf
Add a space before code block info strings
This is for consistency with the `cmark` style. Now the blocks we still
pretty-print ourselves will match the bulk of them that `cmark`
produces.
2024-07-10 13:56:07 -06:00

39 lines
838 B
Markdown

You can use a keyword or reserved operator as a name segment if you surround it with backticks.
``` ucm
scratch/main> view `match`
⚠️
The following names were not found in the codebase. Check your spelling.
`match`
scratch/main> view `=`
⚠️
The following names were not found in the codebase. Check your spelling.
`=`
```
You can also use backticks to expand the set of valid symbols in a symboly name segment to include these three: `.()`
This allows you to spell `.` or `()` as name segments (which historically have appeared in the namespace).
``` ucm
scratch/main> view `.`
⚠️
The following names were not found in the codebase. Check your spelling.
`.`
scratch/main> view `()`
⚠️
The following names were not found in the codebase. Check your spelling.
`()`
```