unison/unison-src/transcripts/lsp-fold-ranges.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

53 lines
664 B
Markdown

``` unison
{{ Type doc }}
structural type Optional a =
None
| Some a
{{
Multi line
Term doc
}}
List.map :
(a -> b)
-> [a]
-> [b]
List.map f = cases
(x +: xs) -> f x +: List.map f xs
[] -> []
test> z = let
x = "hello"
y = "world"
[Ok (x ++ y)]
```
``` ucm
scratch/main> debug.lsp.fold-ranges
《{{ Type doc }}》
《structural type Optional a =
None
| Some a》
《{{
Multi line
Term doc
}}》
《List.map :
(a -> b)
-> [a]
-> [b]
List.map f = cases
(x +: xs) -> f x +: List.map f xs
[] -> []》
《test> z = let
x = "hello"
y = "world"
[Ok (x ++ y)]》
```