tinymist/syntaxes/textmate/tests/unit/basic/raw.typ.snap
Myriad-Dreamin a3948df5da
feat: init syntax library for function hover tip (#77)
* 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
2024-03-20 12:18:57 +08:00

74 lines
No EOL
3.7 KiB
Text

>```typ
#^^^ source.typst markup.raw.block.typst punctuation.definition.raw.begin.typst
# ^^^ source.typst markup.raw.block.typst fenced_code.block.language.typst
>abc
#^^^^ source.typst markup.raw.block.typst meta.embedded.block.typst
>```
#^^^ source.typst markup.raw.block.typst punctuation.definition.raw.end.typst
>
>```typ abc ```
#^^^ source.typst markup.raw.block.typst punctuation.definition.raw.begin.typst
# ^^^ source.typst markup.raw.block.typst fenced_code.block.language.typst
# ^^^^^ source.typst markup.raw.block.typst meta.embedded.block.typst
# ^^^ source.typst markup.raw.block.typst punctuation.definition.raw.end.typst
>
>#```typ abc```
#^ source.typst punctuation.definition.hash.typst
# ^^^ source.typst markup.raw.block.typst punctuation.definition.raw.begin.typst
# ^^^ source.typst markup.raw.block.typst fenced_code.block.language.typst
# ^^^^ source.typst markup.raw.block.typst meta.embedded.block.typst
# ^^^ source.typst markup.raw.block.typst punctuation.definition.raw.end.typst
>
>#(```typ abc```)
#^ source.typst punctuation.definition.hash.typst
# ^ source.typst meta.brace.round.typst
# ^^^ source.typst markup.raw.block.typst punctuation.definition.raw.begin.typst
# ^^^ source.typst markup.raw.block.typst fenced_code.block.language.typst
# ^^^^ source.typst markup.raw.block.typst meta.embedded.block.typst
# ^^^ source.typst markup.raw.block.typst punctuation.definition.raw.end.typst
# ^ source.typst meta.brace.round.typst
>
>#text(```typ https://zh.wikipedia.org```)
#^ source.typst punctuation.definition.hash.typst
# ^^^^ source.typst entity.name.function.typst
# ^ source.typst meta.brace.round.typst
# ^^^ source.typst markup.raw.block.typst punctuation.definition.raw.begin.typst
# ^^^ source.typst markup.raw.block.typst fenced_code.block.language.typst
# ^ source.typst markup.raw.block.typst meta.embedded.block.typst
# ^^^^^^^^^^^^^^^^^^^^^^^^ source.typst markup.raw.block.typst meta.embedded.block.typst markup.underline.link.typst
# ^^^ source.typst markup.raw.block.typst punctuation.definition.raw.end.typst
# ^ source.typst meta.brace.round.typst
>
>````typ
#^^^^ source.typst markup.raw.block.typst punctuation.definition.raw.begin.typst
# ^^^ source.typst markup.raw.block.typst fenced_code.block.language.typst
>https://zh.wikipedia.org
#^^^^^^^^^^^^^^^^^^^^^^^^ source.typst markup.raw.block.typst meta.embedded.block.typst markup.underline.link.typst
>````
#^^^^ source.typst markup.raw.block.typst punctuation.definition.raw.end.typst
>
>#(
#^ source.typst punctuation.definition.hash.typst
# ^ source.typst meta.brace.round.typst
> ```typ
#^^ source.typst
# ^^^ source.typst markup.raw.block.typst punctuation.definition.raw.begin.typst
# ^^^ source.typst markup.raw.block.typst fenced_code.block.language.typst
> writing-markup
#^^^^^^^^^^^^^^^^^ source.typst markup.raw.block.typst meta.embedded.block.typst
> ```,
#^^ source.typst markup.raw.block.typst meta.embedded.block.typst
# ^^^ source.typst markup.raw.block.typst punctuation.definition.raw.end.typst
# ^ source.typst punctuation.separator.comma.typst
> ```typ
#^^ source.typst
# ^^^ source.typst markup.raw.block.typst punctuation.definition.raw.begin.typst
# ^^^ source.typst markup.raw.block.typst fenced_code.block.language.typst
> writing-markup
#^^^^^^^^^^^^^^^^^ source.typst markup.raw.block.typst meta.embedded.block.typst
> ```
#^^ source.typst markup.raw.block.typst meta.embedded.block.typst
# ^^^ source.typst markup.raw.block.typst punctuation.definition.raw.end.typst
>)
#^ source.typst meta.brace.round.typst
>