mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-12-23 08:47:50 +00:00
* dev: introduce upstream tooltip * feat: basic function definition * feat: init syntax library * abandon * build: run syntax building * fix: let expression * fix: markup in code * fix: raw code
9 lines
No EOL
193 B
Typst
9 lines
No EOL
193 B
Typst
#let f() = 1;
|
|
#let f(a) = 1;
|
|
#let f(a, b: none) = 1;
|
|
#let f(a, (b, c)) = 1;
|
|
#let f(a, (b, c: d)) = 1;
|
|
#let f((a, b)) = 1;
|
|
#let f((a, (c: (b: e)))) = 1;
|
|
#let f((a, ..)) = 1;
|
|
#let f((.., a)) = 1; |