tinymist/syntaxes/textmate/tests/unit/basic/raw.typ.snap

113 lines
No EOL
6.9 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 keyword.control.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 keyword.control.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 entity.name.function.hash.typst
# ^^^^ source.typst meta.expr.call.typst entity.name.function.typst
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
# ^^^ source.typst meta.expr.call.typst markup.raw.block.typst punctuation.definition.raw.begin.typst
# ^^^ source.typst meta.expr.call.typst markup.raw.block.typst fenced_code.block.language.typst
# ^ source.typst meta.expr.call.typst markup.raw.block.typst meta.embedded.block.typst
# ^^^^^^^^ source.typst meta.expr.call.typst markup.raw.block.typst meta.embedded.block.typst markup.underline.link.typst
# ^^ source.typst meta.expr.call.typst markup.raw.block.typst meta.embedded.block.typst markup.underline.link.typst
# ^^^^^^^^^^^^^^ source.typst meta.expr.call.typst markup.raw.block.typst meta.embedded.block.typst markup.underline.link.typst
# ^^^ source.typst meta.expr.call.typst markup.raw.block.typst punctuation.definition.raw.end.typst
# ^ source.typst meta.expr.call.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 meta.embedded.block.typst markup.underline.link.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 keyword.control.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
# ^^^ 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
# ^^^ source.typst markup.raw.block.typst punctuation.definition.raw.end.typst
>)
#^ source.typst meta.brace.round.typst
>
>#let escaped-sequences = (
#^ source.typst keyword.control.hash.typst
# ^^^ source.typst meta.expr.let.typst storage.type.typst
# ^ source.typst meta.expr.let.typst
# ^^^^^^^^^^^^^^^^^ source.typst meta.expr.let.typst variable.other.readwrite.typst
# ^ source.typst meta.expr.let.typst
# ^^ source.typst meta.expr.let.typst keyword.operator.assignment.typst
# ^ source.typst meta.expr.let.typst meta.brace.round.typst
> ``, `\[`, ```\` ```, `\"`, [\`]
#^ source.typst meta.expr.let.typst
# ^ source.typst meta.expr.let.typst markup.raw.inline.typst string.other.raw.typst punctuation.definition.raw.inline.typst
# ^ source.typst meta.expr.let.typst markup.raw.inline.typst string.other.raw.typst punctuation.definition.raw.inline.typst
# ^ source.typst meta.expr.let.typst punctuation.separator.comma.typst
# ^ source.typst meta.expr.let.typst
# ^ source.typst meta.expr.let.typst markup.raw.inline.typst string.other.raw.typst punctuation.definition.raw.inline.typst
# ^^ source.typst meta.expr.let.typst markup.raw.inline.typst string.other.raw.typst
# ^ source.typst meta.expr.let.typst markup.raw.inline.typst string.other.raw.typst punctuation.definition.raw.inline.typst
# ^ source.typst meta.expr.let.typst punctuation.separator.comma.typst
# ^ source.typst meta.expr.let.typst
# ^^^ source.typst meta.expr.let.typst markup.raw.block.typst punctuation.definition.raw.begin.typst
# ^^^ source.typst meta.expr.let.typst markup.raw.block.typst
# ^^^ source.typst meta.expr.let.typst markup.raw.block.typst punctuation.definition.raw.end.typst
# ^ source.typst meta.expr.let.typst punctuation.separator.comma.typst
# ^ source.typst meta.expr.let.typst
# ^ source.typst meta.expr.let.typst markup.raw.inline.typst string.other.raw.typst punctuation.definition.raw.inline.typst
# ^^ source.typst meta.expr.let.typst markup.raw.inline.typst string.other.raw.typst
# ^ source.typst meta.expr.let.typst markup.raw.inline.typst string.other.raw.typst punctuation.definition.raw.inline.typst
# ^ source.typst meta.expr.let.typst punctuation.separator.comma.typst
# ^ source.typst meta.expr.let.typst
# ^ source.typst meta.expr.let.typst meta.brace.square.typst
# ^^ source.typst meta.expr.let.typst constant.character.escape.content.typst
# ^ source.typst meta.expr.let.typst meta.brace.square.typst
>)
#^ source.typst meta.expr.let.typst meta.brace.round.typst
>