@hona/openeval 0.5.2 → 0.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/JUDGING.md +7 -5
  2. package/VERIFICATION.md +8 -1
  3. package/package.json +1 -1
  4. package/src/app/input-fingerprints.ts +9 -1
  5. package/src/app/load-benchmark.ts +29 -8
  6. package/src/app/read-results.ts +23 -16
  7. package/src/app/run-eval.ts +4 -3
  8. package/src/app/serve-results.ts +16 -4
  9. package/src/index.ts +2 -1
  10. package/src/infra/judging/code-source.ts +45 -37
  11. package/src/infra/sqlite/index.ts +7 -0
  12. package/src/infra/verification/image.ts +9 -1
  13. package/src/infra/verification/session.ts +1 -1
  14. package/src/judge-context.ts +5 -0
  15. package/src/types.ts +10 -3
  16. package/src/view.ts +29 -6
  17. package/viewer/assets/{abnfDiagram-VCTEODGH-DheibVLk.js → abnfDiagram-VCTEODGH-ug3iRKuR.js} +1 -1
  18. package/viewer/assets/{angular-html-4AdCdqA_.js → angular-html-BrDmDg4M.js} +1 -1
  19. package/viewer/assets/{angular-ts-D-G3eLWz.js → angular-ts-Cog8g0dp.js} +1 -1
  20. package/viewer/assets/{apl-Ckl95Nnu.js → apl-u0m73XJK.js} +1 -1
  21. package/viewer/assets/{arc-DBaUWWiS.js → arc-DwFAF4oI.js} +1 -1
  22. package/viewer/assets/architecture-7GRP2DOG-BE4yjtoN.js +1 -0
  23. package/viewer/assets/{architectureDiagram-5GKGNRK7-BSEYyvUG.js → architectureDiagram-5GKGNRK7-DQCcEnAE.js} +1 -1
  24. package/viewer/assets/{astro-BpiishHg.js → astro-Bh_DypAJ.js} +1 -1
  25. package/viewer/assets/{blade-DvRbLCOy.js → blade-BKpbbd0G.js} +1 -1
  26. package/viewer/assets/{blockDiagram-I7D4REHJ-DLxyKv07.js → blockDiagram-I7D4REHJ-CMWWJZCD.js} +1 -1
  27. package/viewer/assets/{c-BZYE5LIm.js → c-3D1Q4Rnv.js} +1 -1
  28. package/viewer/assets/{c4Diagram-7LVT6UL2--I50ySVl.js → c4Diagram-7LVT6UL2-T2XwgnDq.js} +1 -1
  29. package/viewer/assets/channel-LYhuLo7L.js +1 -0
  30. package/viewer/assets/{chapel-T-o4rT-z.js → chapel-C8bO2CrC.js} +1 -1
  31. package/viewer/assets/{chunk-4HAMMTFA-B9xd7TwX.js → chunk-4HAMMTFA-DP15Gd37.js} +1 -1
  32. package/viewer/assets/{chunk-75Z2AOVW-B4XIg4PJ.js → chunk-75Z2AOVW-BH0f-Wnb.js} +1 -1
  33. package/viewer/assets/{chunk-DU6HZSFF-Cty-qidK.js → chunk-DU6HZSFF-BI4SVpji.js} +1 -1
  34. package/viewer/assets/{chunk-F27PBJKO-8WDDKCG7.js → chunk-F27PBJKO-BSNNTPfe.js} +1 -1
  35. package/viewer/assets/{chunk-GMAD6QVW-G948aN1X.js → chunk-GMAD6QVW-WnVsWLvz.js} +1 -1
  36. package/viewer/assets/{chunk-GVQU2GXP-CVFpDQVF.js → chunk-GVQU2GXP-CdFmNEz4.js} +1 -1
  37. package/viewer/assets/{chunk-IMKFNOWR-BUQviXHJ.js → chunk-IMKFNOWR-Dvd33dQw.js} +1 -1
  38. package/viewer/assets/{chunk-L3NEJ4N5-BXvzxNPv.js → chunk-L3NEJ4N5-CL6o4wty.js} +1 -1
  39. package/viewer/assets/{chunk-OSK3NFVY-wLdUx9yD.js → chunk-OSK3NFVY-ITNjoAvY.js} +1 -1
  40. package/viewer/assets/{chunk-P2QGCYS3-hDwRspSg.js → chunk-P2QGCYS3-BSCEl9ld.js} +1 -1
  41. package/viewer/assets/{chunk-POPQ4Y6H-LbeiA8tL.js → chunk-POPQ4Y6H-cdNgvxKY.js} +1 -1
  42. package/viewer/assets/{chunk-PWAF6VOD-BcGZUKY4.js → chunk-PWAF6VOD-BMdmv8wx.js} +1 -1
  43. package/viewer/assets/{chunk-SHT3W25Y-BqKh1v-r.js → chunk-SHT3W25Y-CjnAASPR.js} +1 -1
  44. package/viewer/assets/{chunk-SVP7TREG-BEMJeRHW.js → chunk-SVP7TREG-CGuEYo-A.js} +1 -1
  45. package/viewer/assets/{chunk-TICWLB2K-BiHATE6U.js → chunk-TICWLB2K-Ctd8ESX_.js} +1 -1
  46. package/viewer/assets/{chunk-XXDRQBXY-B0X2aTwI.js → chunk-XXDRQBXY-CeNgfrFR.js} +1 -1
  47. package/viewer/assets/classDiagram-ZZMXUADV-BgxrVQRR.js +1 -0
  48. package/viewer/assets/classDiagram-v2-VYDZK3BY-BgxrVQRR.js +1 -0
  49. package/viewer/assets/{cobol-DS-OUv7W.js → cobol-osZcAF7j.js} +1 -1
  50. package/viewer/assets/{coffee-UJZBXrQS.js → coffee-3IUVSrSB.js} +1 -1
  51. package/viewer/assets/{cose-bilkent-JH36ORCC-h7Gx4dzS.js → cose-bilkent-JH36ORCC-CyD9he_v.js} +1 -1
  52. package/viewer/assets/{cpp-BuO_io74.js → cpp-CN2PLd-1.js} +1 -1
  53. package/viewer/assets/{crystal-D_Q6HPhm.js → crystal-DkrkhqdA.js} +1 -1
  54. package/viewer/assets/{css-B9bdOUvs.js → css-Y7OW5uKN.js} +1 -1
  55. package/viewer/assets/{cynefin-OW5HDTMX-BONm5P8S.js → cynefin-OW5HDTMX-H8lBmHMH.js} +1 -1
  56. package/viewer/assets/{cynefinDiagram-5FMLGOSQ-CWsyzZBO.js → cynefinDiagram-5FMLGOSQ-CJIYAkvT.js} +1 -1
  57. package/viewer/assets/{dagre-GXQ25YYZ-CJG_-oax.js → dagre-GXQ25YYZ-pxdbKP2Y.js} +1 -1
  58. package/viewer/assets/{diagram-S7CK7UJ4-uOGlO2Fe.js → diagram-S7CK7UJ4-VtFOpSmi.js} +1 -1
  59. package/viewer/assets/{diagram-UQ7AKVKN-B2mgymOu.js → diagram-UQ7AKVKN-D_P4AgV5.js} +1 -1
  60. package/viewer/assets/{diagram-VSXAHHWV-UkXvypTd.js → diagram-VSXAHHWV-DAGjorXD.js} +1 -1
  61. package/viewer/assets/{diagram-VX7I27RA-Bzge-YWf.js → diagram-VX7I27RA-2zCtxu12.js} +1 -1
  62. package/viewer/assets/{diagram-Z3DM3KII-BAqqEKF_.js → diagram-Z3DM3KII-EYZlAOgk.js} +1 -1
  63. package/viewer/assets/{dist-CACpyRbj.js → dist-GOYxPZ4F.js} +1 -1
  64. package/viewer/assets/{ebnfDiagram-PWID7BFC-dsRp8_0H.js → ebnfDiagram-PWID7BFC-DjPdLCtD.js} +1 -1
  65. package/viewer/assets/{edge-DUnvwjmM.js → edge-BXhOSzIo.js} +1 -1
  66. package/viewer/assets/{elixir-QfE-NI0D.js → elixir-7AwElWAC.js} +1 -1
  67. package/viewer/assets/{elm-D4J4FYyf.js → elm-Rl2m4djM.js} +1 -1
  68. package/viewer/assets/{erDiagram-RLTQ6QDP-Dmfq32IQ.js → erDiagram-RLTQ6QDP-SmyuIGbH.js} +1 -1
  69. package/viewer/assets/{erb-DfUVZzqX.js → erb-CaYBWLa-.js} +1 -1
  70. package/viewer/assets/eventmodeling-NTZA5JFV-mpkZTTpn.js +1 -0
  71. package/viewer/assets/flowDiagram-HODETNUW-BCQvK0Ku.js +1 -0
  72. package/viewer/assets/{ganttDiagram-EL5Y4UJY-DVTv_n_T.js → ganttDiagram-EL5Y4UJY-DfSG_mot.js} +1 -1
  73. package/viewer/assets/{git-rebase-B22-kUR2.js → git-rebase-Y999REzC.js} +1 -1
  74. package/viewer/assets/{gitGraph-4MIJSDKK-C3ZU1Sml.js → gitGraph-4MIJSDKK-BXiKSzAB.js} +1 -1
  75. package/viewer/assets/{gitGraphDiagram-WWUBYQGX-BJqeOFYd.js → gitGraphDiagram-WWUBYQGX-BouZhMNn.js} +1 -1
  76. package/viewer/assets/{glimmer-js-Cm5f8kCy.js → glimmer-js-DTFvFoOE.js} +1 -1
  77. package/viewer/assets/{glimmer-ts-CQ-nNZCl.js → glimmer-ts-RbXN3mhk.js} +1 -1
  78. package/viewer/assets/{glsl-XxfyrGb3.js → glsl-BhmvaPUj.js} +1 -1
  79. package/viewer/assets/{graphql-DBlG1DNQ.js → graphql-CohJYf5Y.js} +1 -1
  80. package/viewer/assets/{hack-Dkc1g494.js → hack-xLFm4gc4.js} +1 -1
  81. package/viewer/assets/{haml-D9E0-Hw0.js → haml-B433XQTv.js} +1 -1
  82. package/viewer/assets/{handlebars-Cb17q7C4.js → handlebars-BDpXFZR1.js} +1 -1
  83. package/viewer/assets/{html-5E3Hc3ha.js → html-BvwGTXL2.js} +1 -1
  84. package/viewer/assets/{html-derivative-DOZTqg-2.js → html-derivative-DSCM_5Uj.js} +1 -1
  85. package/viewer/assets/{http-DJH-LMLV.js → http-ZyduKjGN.js} +1 -1
  86. package/viewer/assets/{hurl-CEYg3T6-.js → hurl-Dtl73Mol.js} +1 -1
  87. package/viewer/assets/{index-CkY7ZfKs.css → index-BmSDOoQ0.css} +1 -1
  88. package/viewer/assets/{index-Dfdu9MKA.js → index-DOIiHLHw.js} +76 -76
  89. package/viewer/assets/{info-A6RAGUB7-B-4F1obM.js → info-A6RAGUB7-DuWuidi4.js} +1 -1
  90. package/viewer/assets/{infoDiagram-27XIBGKW-B8RIO086.js → infoDiagram-27XIBGKW-DczGtN5R.js} +1 -1
  91. package/viewer/assets/{ishikawaDiagram-5VMMS53U-DIGOldDh.js → ishikawaDiagram-5VMMS53U-DidQ3_7N.js} +1 -1
  92. package/viewer/assets/{java-e3vi9Uzs.js → java-mouNBEOT.js} +1 -1
  93. package/viewer/assets/{javascript-DXnYMYO7.js → javascript-U-JBzSDk.js} +1 -1
  94. package/viewer/assets/{jinja-C-Qo2832.js → jinja-DBlWVTqh.js} +1 -1
  95. package/viewer/assets/{jison-CfzTRAm0.js → jison-ELt1NYXo.js} +1 -1
  96. package/viewer/assets/{journeyDiagram-3NMN7TZE-DbQ5PKPQ.js → journeyDiagram-3NMN7TZE-0fr5OEH9.js} +1 -1
  97. package/viewer/assets/{json-BaqYW62L.js → json-B_LODAI7.js} +1 -1
  98. package/viewer/assets/{jsx-DTafsOf-.js → jsx-BohFPbbA.js} +1 -1
  99. package/viewer/assets/{julia-Djdi6Tch.js → julia-Dco09L8E.js} +1 -1
  100. package/viewer/assets/{just-gZxWcw47.js → just-Dpx2bwga.js} +1 -1
  101. package/viewer/assets/{kanban-definition-UXKFOSKX-CwEeXphJ.js → kanban-definition-UXKFOSKX-3FngVt7d.js} +1 -1
  102. package/viewer/assets/{latex-CIO1OdmU.js → latex-Dccz5tQA.js} +1 -1
  103. package/viewer/assets/{line-Basn7TUv.js → line-Dhwi7DC5.js} +1 -1
  104. package/viewer/assets/{linear-Bu88wzXh.js → linear-gHMHD-Wa.js} +1 -1
  105. package/viewer/assets/{liquid-mYuCSXLi.js → liquid-D8w3l38v.js} +1 -1
  106. package/viewer/assets/{lua-lXhbu8ma.js → lua-tuIjH_94.js} +1 -1
  107. package/viewer/assets/{marko-BH-anPb4.js → marko-W3rkETdp.js} +1 -1
  108. package/viewer/assets/{mdc-DOuUtwPr.js → mdc-OJ1zd1BA.js} +1 -1
  109. package/viewer/assets/{mermaid-parser.core-CiGT3tRM.js → mermaid-parser.core-VTfqiyyK.js} +3 -3
  110. package/viewer/assets/{mermaid.core-BfFqBx2V.js → mermaid.core-eoOgKmWC.js} +4 -4
  111. package/viewer/assets/{mindmap-definition-YA3MSWOX-d_TnVAJG.js → mindmap-definition-YA3MSWOX-DeA-tJsi.js} +1 -1
  112. package/viewer/assets/{nginx-BB1dPcHJ.js → nginx-lXyaNnvL.js} +1 -1
  113. package/viewer/assets/{nim-BSJ4UdAS.js → nim-SOay_4P1.js} +1 -1
  114. package/viewer/assets/{org-JRn8h-K_.js → org-CRmJq-uC.js} +1 -1
  115. package/viewer/assets/{packet-AYTQ26CC-BA7VIQ3l.js → packet-AYTQ26CC-QgHmAlwp.js} +1 -1
  116. package/viewer/assets/{pegDiagram-XKGWAZYB-pfsoYtx9.js → pegDiagram-XKGWAZYB-BP0VAXd_.js} +1 -1
  117. package/viewer/assets/{perl-GzZ7epP9.js → perl-CHndoS_5.js} +1 -1
  118. package/viewer/assets/{php-Crolu7lU.js → php-DZCOF2Hm.js} +1 -1
  119. package/viewer/assets/{pie-WAS4IAKB-B9gCbpVP.js → pie-WAS4IAKB-Lghc8UPt.js} +1 -1
  120. package/viewer/assets/{pieDiagram-E7YTZNPT-D578iJLj.js → pieDiagram-E7YTZNPT-_ZEa88u4.js} +1 -1
  121. package/viewer/assets/{pug-BRaBHOlA.js → pug-Bj-uu214.js} +1 -1
  122. package/viewer/assets/{qml-BBlfnxMr.js → qml-DLfThugB.js} +1 -1
  123. package/viewer/assets/{quadrantDiagram-AXDQQJYC-DoKeLBeZ.js → quadrantDiagram-AXDQQJYC-BLeHQnim.js} +1 -1
  124. package/viewer/assets/{r-DG1YsJtP.js → r-Cnkx2_Um.js} +1 -1
  125. package/viewer/assets/{radar-RG4KPBEZ-Dr6Zcwqy.js → radar-RG4KPBEZ-CLW3C4xB.js} +1 -1
  126. package/viewer/assets/{railroad-74A4TZTK-CEncWApU.js → railroad-74A4TZTK-DLtGvURT.js} +1 -1
  127. package/viewer/assets/railroad-abnf-HS5TGJTU-CMoBRU-d.js +1 -0
  128. package/viewer/assets/railroad-ebnf-LZEXJU2U-Cs-h2401.js +1 -0
  129. package/viewer/assets/railroad-peg-WCYAUIDC-Q-VU3IQG.js +1 -0
  130. package/viewer/assets/{railroadDiagram-O6MQD6OU-7j0Th0r6.js → railroadDiagram-O6MQD6OU-DocKmoio.js} +1 -1
  131. package/viewer/assets/{razor-CY_sYdwH.js → razor-OW6qQyun.js} +1 -1
  132. package/viewer/assets/{regexp-DZiZuF5z.js → regexp-6RZ3RRCf.js} +1 -1
  133. package/viewer/assets/{requirementDiagram-BXWQKSXE-Dk1vCdh-.js → requirementDiagram-BXWQKSXE-cEjmGoYY.js} +1 -1
  134. package/viewer/assets/{rst-Dn_AtwYd.js → rst-CpEVnW9I.js} +1 -1
  135. package/viewer/assets/{ruby-BIB6MqpW.js → ruby-B2fIwwQt.js} +1 -1
  136. package/viewer/assets/{sankeyDiagram-P5KCCOFB-DaB06Zgj.js → sankeyDiagram-P5KCCOFB-BUdtY7Wt.js} +1 -1
  137. package/viewer/assets/{sas-Ccxd8Air.js → sas-DCHEi6wl.js} +1 -1
  138. package/viewer/assets/{scss-Cr7j0d4P.js → scss-D2bGvizF.js} +1 -1
  139. package/viewer/assets/{sequenceDiagram-WJ2MYXX4-BGEb3NdT.js → sequenceDiagram-WJ2MYXX4-DmsKCV1w.js} +1 -1
  140. package/viewer/assets/{shellscript-CHN-dwU6.js → shellscript-dnMGBhYw.js} +1 -1
  141. package/viewer/assets/{shellsession-uVGeQNm3.js → shellsession-EXXCHS9B.js} +1 -1
  142. package/viewer/assets/{soy-D7NWwJ5L.js → soy-BhJTFcrF.js} +1 -1
  143. package/viewer/assets/{sql-DRImQ2Oi.js → sql-Bg9JbbKb.js} +1 -1
  144. package/viewer/assets/{src-BnSwVg9U.js → src-C171e0nu.js} +1 -1
  145. package/viewer/assets/{stata-BIe0AUpg.js → stata-CAxSMxW7.js} +1 -1
  146. package/viewer/assets/{stateDiagram-D77RDMKH-DsRu-B2h.js → stateDiagram-D77RDMKH-OFqeW2Tm.js} +1 -1
  147. package/viewer/assets/stateDiagram-v2-MP3YSRHH-BeZW_eXx.js +1 -0
  148. package/viewer/assets/{surrealql-LEEn9cBl.js → surrealql-ChhGZa01.js} +1 -1
  149. package/viewer/assets/{svelte-CAMB-f9H.js → svelte-nQiI4XLd.js} +1 -1
  150. package/viewer/assets/{swimlanes-42K2YHIH-DqXHORT2.js → swimlanes-42K2YHIH-DHYfKuk0.js} +1 -1
  151. package/viewer/assets/swimlanesDiagram-VR7AAH4N-BYZ-vs6I.js +8 -0
  152. package/viewer/assets/{templ-zrRSW6Nf.js → templ-QcYlpMb-.js} +1 -1
  153. package/viewer/assets/{tex-D4XEXDuZ.js → tex-DkJXeRDT.js} +1 -1
  154. package/viewer/assets/{timeline-definition-24CTP7MA-DSpHKRpt.js → timeline-definition-24CTP7MA-CyRzlxCL.js} +1 -1
  155. package/viewer/assets/{treeView-Q6P3EWNA-pE7RJ0LU.js → treeView-Q6P3EWNA-dNcA3Vfo.js} +1 -1
  156. package/viewer/assets/{treemap-WGGIJYW6-CBfU2tIc.js → treemap-WGGIJYW6-BZWPBgpp.js} +1 -1
  157. package/viewer/assets/{ts-tags-DqFdF1-k.js → ts-tags-Fro3huiC.js} +1 -1
  158. package/viewer/assets/{tsx-Dz5osFq9.js → tsx-Dpl8Dyu3.js} +1 -1
  159. package/viewer/assets/{twig-CQ3wxbq3.js → twig-V8RRy40u.js} +1 -1
  160. package/viewer/assets/{typescript-Cu1dPDHw.js → typescript-DkL9-LA1.js} +1 -1
  161. package/viewer/assets/{typst-DHrnWrov.js → typst-DlTx93FO.js} +1 -1
  162. package/viewer/assets/{vennDiagram-4TSXK5OY-BPPSR6nr.js → vennDiagram-4TSXK5OY-CzTHbS5I.js} +1 -1
  163. package/viewer/assets/{vue-BaoJW0em.js → vue-B3Y_KP0j.js} +1 -1
  164. package/viewer/assets/{vue-html-DB9LdXl9.js → vue-html-CU1oynDW.js} +1 -1
  165. package/viewer/assets/{vue-vine-CqtlBPYW.js → vue-vine-zaYTs9kI.js} +1 -1
  166. package/viewer/assets/{wardley-WFR3VGLG-DfCbsSvk.js → wardley-WFR3VGLG-BHfRoe2C.js} +1 -1
  167. package/viewer/assets/{wardleyDiagram-VM6X3IG4-DeiKcJbE.js → wardleyDiagram-VM6X3IG4-YhghL-ul.js} +1 -1
  168. package/viewer/assets/{xml-CQ5T6aNZ.js → xml-CnVdnzon.js} +1 -1
  169. package/viewer/assets/{xsl-DVQ2v5YX.js → xsl-B9rDiHW0.js} +1 -1
  170. package/viewer/assets/{xychartDiagram-S5SC5T6Z-BsvlKd7r.js → xychartDiagram-S5SC5T6Z-BwmCelEN.js} +1 -1
  171. package/viewer/assets/{yaml-DXrThoWS.js → yaml-CbhKf1fN.js} +1 -1
  172. package/viewer/index.html +2 -2
  173. package/viewer/assets/architecture-7GRP2DOG-DtdqvSTn.js +0 -1
  174. package/viewer/assets/channel-BksTOWku.js +0 -1
  175. package/viewer/assets/classDiagram-ZZMXUADV-Cbfu0NLs.js +0 -1
  176. package/viewer/assets/classDiagram-v2-VYDZK3BY-Cbfu0NLs.js +0 -1
  177. package/viewer/assets/eventmodeling-NTZA5JFV-BsZg3yrD.js +0 -1
  178. package/viewer/assets/flowDiagram-HODETNUW-55jB5pet.js +0 -1
  179. package/viewer/assets/railroad-abnf-HS5TGJTU-BUgwRsng.js +0 -1
  180. package/viewer/assets/railroad-ebnf-LZEXJU2U-C22SR2MX.js +0 -1
  181. package/viewer/assets/railroad-peg-WCYAUIDC-DjI1jJwc.js +0 -1
  182. package/viewer/assets/stateDiagram-v2-MP3YSRHH-DtGwflXN.js +0 -1
  183. package/viewer/assets/swimlanesDiagram-VR7AAH4N-DCpSoqRu.js +0 -8
@@ -1 +1 @@
1
- import{t as e}from"./javascript-DXnYMYO7.js";import{t}from"./css-B9bdOUvs.js";import{t as n}from"./html-5E3Hc3ha.js";import{t as r}from"./scss-Cr7j0d4P.js";import{t as i}from"./java-e3vi9Uzs.js";import{t as a}from"./xml-CQ5T6aNZ.js";import{t as o}from"./json-BaqYW62L.js";import{t as s}from"./typescript-Cu1dPDHw.js";import{t as c}from"./tsx-Dz5osFq9.js";import l from"./bat-qdxAdBWQ.js";import u from"./bibtex-Ci_nEsc7.js";import{t as d}from"./sql-DRImQ2Oi.js";import{t as f}from"./c-BZYE5LIm.js";import p from"./python-gzcpVVnB.js";import m from"./clojure-DqKBuwfJ.js";import h from"./coffee-UJZBXrQS.js";import{t as g}from"./regexp-DZiZuF5z.js";import{t as _}from"./cpp-BuO_io74.js";import{t as v}from"./shellscript-CHN-dwU6.js";import y from"./csharp-oqKa8noW.js";import b from"./dart-CnvKMtbv.js";import x from"./diff-woXpYk--.js";import S from"./docker-IyjqRm3v.js";import C from"./elixir-QfE-NI0D.js";import{t as w}from"./lua-lXhbu8ma.js";import{t as T}from"./yaml-DXrThoWS.js";import E from"./ruby-BIB6MqpW.js";import D from"./markdown-BYOwaDjH.js";import O from"./erlang-Cphh6RMH.js";import k from"./fsharp-D13ZGOAj.js";import A from"./git-commit-BSykSTBG.js";import j from"./git-rebase-B22-kUR2.js";import M from"./go-rLFTqkRN.js";import N from"./groovy-CacY0gHj.js";import P from"./handlebars-Cb17q7C4.js";import F from"./ini-B5eOa1yu.js";import I from"./jsonc-CYpm1nAK.js";import{t as L}from"./r-DG1YsJtP.js";import R from"./julia-Djdi6Tch.js";import z from"./perl-GzZ7epP9.js";import B from"./latex-CIO1OdmU.js";import V from"./less-DVTAwKKz.js";import H from"./log-BNLmms1o.js";import U from"./make-Dixweg8N.js";import W from"./objective-c-D1A_Heim.js";import G from"./php-Crolu7lU.js";import K from"./vb-DOwzaHZ0.js";import q from"./raku-B3gFvitq.js";import J from"./rust-Cfkwpbl8.js";import Y from"./scala-BiFt_7mu.js";import X from"./xsl-DVQ2v5YX.js";import Z from"./powershell-CCSX75yM.js";import Q from"./pug-BRaBHOlA.js";import $ from"./swift-CyEgAFGc.js";import ee from"./system-verilog-Dh5ihWbf.js";import te from"./twig-CQ3wxbq3.js";import ne from"./verilog-B2gwz-sJ.js";var re=Object.freeze(JSON.parse('{"displayName":"Typst","name":"typst","patterns":[{"include":"#shebang"},{"include":"#markup"}],"repository":{"agda":{"lang":"agda","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.agda","patterns":[{"include":"source.agda"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(agda)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(agda)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.agda","patterns":[{"include":"source.agda"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(agda)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.agda","patterns":[{"include":"source.agda"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(agda)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.agda","patterns":[{"include":"source.agda"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(agda)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.agda","patterns":[{"include":"source.agda"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"arrayOrDict":{"patterns":[{"captures":{"1":{"name":"meta.brace.round.typst"},"2":{"name":"meta.brace.round.typst"}},"match":"(\\\\()\\\\s*(\\\\))"},{"captures":{"1":{"name":"meta.brace.round.typst"},"2":{"name":"punctuation.separator.colon.typst"},"3":{"name":"meta.brace.round.typst"}},"match":"(\\\\()\\\\s*(:)\\\\s*(\\\\))"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"meta.brace.round.typst"}},"end":"\\\\)|(?=[];}])","endCaptures":{"0":{"name":"meta.brace.round.typst"}},"patterns":[{"include":"#literalContent"}]}]},"batchfile":{"lang":"batchfile","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.batchfile","patterns":[{"include":"source.batchfile"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(bat(?:chfile||ch))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(bat(?:chfile||ch))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.batchfile","patterns":[{"include":"source.batchfile"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(bat(?:chfile||ch))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.batchfile","patterns":[{"include":"source.batchfile"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(bat(?:chfile||ch))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.batchfile","patterns":[{"include":"source.batchfile"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(bat(?:chfile||ch))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.batchfile","patterns":[{"include":"source.batchfile"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"bibtex":{"lang":"bibtex","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.bibtex","patterns":[{"include":"text.bibtex"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(bibtex)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(bibtex)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.bibtex","patterns":[{"include":"text.bibtex"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(bibtex)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.bibtex","patterns":[{"include":"text.bibtex"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(bibtex)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.bibtex","patterns":[{"include":"text.bibtex"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(bibtex)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.bibtex","patterns":[{"include":"text.bibtex"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"blockComment":{"begin":"/\\\\*","beginCaptures":{"0":{"name":"punctuation.definition.comment.typst"}},"end":"\\\\*/","name":"comment.block.typst","patterns":[{"include":"#blockComment"}]},"blockRaw":{"patterns":[{"include":"#agda"},{"include":"#batchfile"},{"include":"#bibtex"},{"include":"#c"},{"include":"#clojure"},{"include":"#coffee"},{"include":"#cpp"},{"include":"#css"},{"include":"#cs"},{"include":"#dart"},{"include":"#diff"},{"include":"#dockerfile"},{"include":"#elixir"},{"include":"#erlang"},{"include":"#fs"},{"include":"#git-commit"},{"include":"#git-rebase"},{"include":"#go"},{"include":"#groovy"},{"include":"#handlebars"},{"include":"#html"},{"include":"#ini"},{"include":"#java"},{"include":"#js"},{"include":"#jsonc"},{"include":"#json"},{"include":"#julia"},{"include":"#latex"},{"include":"#less"},{"include":"#log"},{"include":"#lua"},{"include":"#makefile"},{"include":"#markdown"},{"include":"#objc"},{"include":"#perl"},{"include":"#perl6"},{"include":"#php"},{"include":"#powershell"},{"include":"#pug"},{"include":"#r"},{"include":"#regexp"},{"include":"#re"},{"include":"#ruby"},{"include":"#scss"},{"include":"#sql"},{"include":"#swift"},{"include":"#typst"},{"include":"#typst-code"},{"include":"#xml"},{"include":"#xsl"},{"include":"#yaml"},{"include":"#python"},{"include":"#rust"},{"include":"#scala"},{"include":"#shell"},{"include":"#ts"},{"include":"#tsx"},{"include":"#twig"},{"include":"#verilog"},{"include":"#systemverilog"},{"include":"#vb"},{"include":"#blockRawGeneral"}]},"blockRawGeneral":{"begin":"(`{3,})([_\\\\p{XIDS}][-_\\\\p{XIDC}]*\\\\b)?","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst"},"c":{"lang":"c","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.c","patterns":[{"include":"source.c"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})([ch])\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})([ch])\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.c","patterns":[{"include":"source.c"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})([ch])\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.c","patterns":[{"include":"source.c"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})([ch])\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.c","patterns":[{"include":"source.c"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})([ch])\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.c","patterns":[{"include":"source.c"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"callArgs":{"begin":"\\\\(","beginCaptures":{"0":{"name":"meta.brace.round.typst"}},"end":"\\\\)|(?=[];}])","endCaptures":{"0":{"name":"meta.brace.round.typst"}},"patterns":[{"include":"#patternOrArgsBody"}]},"clojure":{"lang":"clojure","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.clojure","patterns":[{"include":"source.clojure"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(cl(?:ojure|js??))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(cl(?:ojure|js??))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.clojure","patterns":[{"include":"source.clojure"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(cl(?:ojure|js??))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.clojure","patterns":[{"include":"source.clojure"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(cl(?:ojure|js??))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.clojure","patterns":[{"include":"source.clojure"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(cl(?:ojure|js??))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.clojure","patterns":[{"include":"source.clojure"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"code":{"patterns":[{"include":"#common"},{"include":"#comments"},{"match":";","name":"punctuation.terminator.statement.typst"},{"include":"#expression"}]},"codeBlock":{"begin":"\\\\{","beginCaptures":{"0":{"name":"meta.brace.curly.typst"}},"end":"}","endCaptures":{"0":{"name":"meta.brace.curly.typst"}},"patterns":[{"include":"#code"}]},"codeMath":{"begin":"(?<![])])\\\\$","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.math.typst"}},"end":"\\\\$","endCaptures":{"0":{"name":"punctuation.definition.string.end.math.typst"}},"name":"markup.math.typst","patterns":[{"include":"#math"}]},"coffee":{"lang":"coffee","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.coffee","patterns":[{"include":"source.coffee"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(coffee|Cakefile|coffee\\\\.erb)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(coffee|Cakefile|coffee\\\\.erb)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.coffee","patterns":[{"include":"source.coffee"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(coffee|Cakefile|coffee\\\\.erb)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.coffee","patterns":[{"include":"source.coffee"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(coffee|Cakefile|coffee\\\\.erb)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.coffee","patterns":[{"include":"source.coffee"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(coffee|Cakefile|coffee\\\\.erb)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.coffee","patterns":[{"include":"source.coffee"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"comments":{"patterns":[{"include":"#blockComment"},{"include":"#lineComment"}]},"common":{"patterns":[{"include":"#strictComments"},{"include":"#blockRaw"},{"include":"#inlineRaw"}]},"constants":{"patterns":[{"match":"(?:\\\\d+\\\\.(?!\\\\d)|\\\\d*\\\\.?\\\\d+(?:[Ee][-+]?\\\\d+)?)(?<!\\\\.)(mm|pt|cm|in|em)($|\\\\b)","name":"constant.numeric.length.typst"},{"match":"(?:\\\\d+\\\\.(?!\\\\d)|\\\\d*\\\\.?\\\\d+(?:[Ee][-+]?\\\\d+)?)(?<!\\\\.)(rad|deg)($|\\\\b)","name":"constant.numeric.angle.typst"},{"match":"(?:\\\\d+\\\\.(?!\\\\d)|\\\\d*\\\\.?\\\\d+(?:[Ee][-+]?\\\\d+)?)%","name":"constant.numeric.percentage.typst"},{"match":"(?:\\\\d+\\\\.(?!\\\\d)|\\\\d*\\\\.?\\\\d+(?:[Ee][-+]?\\\\d+)?)(?<!\\\\.)fr","name":"constant.numeric.fr.typst"},{"match":"(?<![])}])(^|(?<=[#\\\\s])|\\\\b)\\\\d+\\\\b(?!\\\\.(?:[^_\\\\p{XIDS}]|$)|[Ee])","name":"constant.numeric.integer.typst"},{"match":"(?<![])}])(^|(?<=[#\\\\s])|\\\\b)0x\\\\h+\\\\b","name":"constant.numeric.hex.typst"},{"match":"(?<![])}])(^|(?<=[#\\\\s])|\\\\b)0o[0-7]+\\\\b","name":"constant.numeric.octal.typst"},{"match":"(?<![])}])(^|(?<=[#\\\\s])|\\\\b)0b[01]+\\\\b","name":"constant.numeric.binary.typst"},{"match":"\\\\d+\\\\.(?!\\\\d)|\\\\d*\\\\.?\\\\d+(?:[Ee][-+]?\\\\d+)?","name":"constant.numeric.float.typst"},{"include":"#stringLiteral"}]},"contentBlock":{"begin":"\\\\[","beginCaptures":{"0":{"name":"meta.brace.square.typst"}},"end":"]","endCaptures":{"0":{"name":"meta.brace.square.typst"}},"patterns":[{"include":"#contentBlock"},{"include":"#markup"}]},"contextStatement":{"begin":"\\\\bcontext\\\\b(?!-)","beginCaptures":{"0":{"name":"keyword.control.other.typst"}},"end":"(?<=[]}])|(?<!\\\\bcontext\\\\s*)(?=[\\\\[{])|(?=[]\\\\n#$);}]|$)","name":"meta.expr.context.typst","patterns":[{"include":"#expression"}]},"cpp":{"lang":"cpp","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.cpp","patterns":[{"include":"source.cpp"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(c(?:pp|\\\\+\\\\+|xx))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(c(?:pp|\\\\+\\\\+|xx))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.cpp","patterns":[{"include":"source.cpp"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(c(?:pp|\\\\+\\\\+|xx))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.cpp","patterns":[{"include":"source.cpp"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(c(?:pp|\\\\+\\\\+|xx))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.cpp","patterns":[{"include":"source.cpp"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(c(?:pp|\\\\+\\\\+|xx))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.cpp","patterns":[{"include":"source.cpp"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"cs":{"lang":"cs","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.cs","patterns":[{"include":"source.cs"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(c(?:s|sharp|#))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(c(?:s|sharp|#))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.cs","patterns":[{"include":"source.cs"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(c(?:s|sharp|#))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.cs","patterns":[{"include":"source.cs"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(c(?:s|sharp|#))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.cs","patterns":[{"include":"source.cs"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(c(?:s|sharp|#))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.cs","patterns":[{"include":"source.cs"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"css":{"lang":"css","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.css","patterns":[{"include":"source.css"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(css(?:|\\\\.erb))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(css(?:|\\\\.erb))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.css","patterns":[{"include":"source.css"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(css(?:|\\\\.erb))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.css","patterns":[{"include":"source.css"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(css(?:|\\\\.erb))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.css","patterns":[{"include":"source.css"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(css(?:|\\\\.erb))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.css","patterns":[{"include":"source.css"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"dart":{"lang":"dart","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.dart","patterns":[{"include":"source.dart"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(dart)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(dart)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.dart","patterns":[{"include":"source.dart"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(dart)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.dart","patterns":[{"include":"source.dart"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(dart)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.dart","patterns":[{"include":"source.dart"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(dart)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.dart","patterns":[{"include":"source.dart"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"diff":{"lang":"diff","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.diff","patterns":[{"include":"source.diff"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(diff|patch|rej)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(diff|patch|rej)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.diff","patterns":[{"include":"source.diff"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(diff|patch|rej)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.diff","patterns":[{"include":"source.diff"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(diff|patch|rej)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.diff","patterns":[{"include":"source.diff"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(diff|patch|rej)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.diff","patterns":[{"include":"source.diff"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"dockerfile":{"lang":"dockerfile","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.dockerfile","patterns":[{"include":"source.dockerfile"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})([Dd]ockerfile)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})([Dd]ockerfile)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.dockerfile","patterns":[{"include":"source.dockerfile"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})([Dd]ockerfile)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.dockerfile","patterns":[{"include":"source.dockerfile"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})([Dd]ockerfile)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.dockerfile","patterns":[{"include":"source.dockerfile"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})([Dd]ockerfile)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.dockerfile","patterns":[{"include":"source.dockerfile"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"elixir":{"lang":"elixir","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.elixir","patterns":[{"include":"source.elixir"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(elixir)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(elixir)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.elixir","patterns":[{"include":"source.elixir"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(elixir)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.elixir","patterns":[{"include":"source.elixir"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(elixir)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.elixir","patterns":[{"include":"source.elixir"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(elixir)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.elixir","patterns":[{"include":"source.elixir"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"elseClause":{"match":"\\\\belse\\\\b(?!-)","name":"keyword.control.conditional.typst"},"erlang":{"lang":"erlang","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.erlang","patterns":[{"include":"source.erlang"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(erlang)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(erlang)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.erlang","patterns":[{"include":"source.erlang"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(erlang)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.erlang","patterns":[{"include":"source.erlang"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(erlang)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.erlang","patterns":[{"include":"source.erlang"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(erlang)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.erlang","patterns":[{"include":"source.erlang"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"expression":{"patterns":[{"include":"#comments"},{"include":"#arrayOrDict"},{"include":"#contentBlock"},{"match":"\\\\b(else)\\\\b(?!-)","name":"keyword.control.conditional.typst"},{"match":"\\\\b(break|continue)\\\\b(?!-)","name":"keyword.control.loop.typst"},{"match":"\\\\b(in)\\\\b(?!-)","name":"keyword.other.range.typst"},{"match":"\\\\b(and|or|not)\\\\b(?!-)","name":"keyword.other.logical.typst"},{"match":"\\\\b(return)\\\\b(?!-)","name":"keyword.control.flow.typst"},{"include":"#markupLabel"},{"include":"#blockRaw"},{"include":"#inlineRaw"},{"include":"#codeBlock"},{"include":"#letStatement"},{"include":"#showStatement"},{"include":"#contextStatement"},{"include":"#setStatement"},{"include":"#forStatement"},{"include":"#whileStatement"},{"include":"#ifStatement"},{"include":"#importStatement"},{"include":"#includeStatement"},{"include":"#strictFuncCallOrPropAccess"},{"include":"#primitiveColors"},{"include":"#primitiveFunctions"},{"include":"#primitiveTypes"},{"include":"#keywordConstants"},{"include":"#identifier"},{"include":"#constants"},{"include":"#codeMath"},{"match":"(as)\\\\b(?!-)","name":"keyword.control.typst"},{"match":"(in)\\\\b(?!-)","name":"keyword.operator.range.typst"},{"match":"\\\\.\\\\.","name":"keyword.operator.spread.typst"},{"match":":","name":"punctuation.separator.colon.typst"},{"match":"\\\\.","name":"keyword.operator.accessor.typst"},{"match":",","name":"punctuation.separator.comma.typst"},{"match":"=>","name":"storage.type.function.arrow.typst"},{"match":"==|!=|<=?|>=?","name":"keyword.operator.relational.typst"},{"begin":"((?:[-*+]|/?)=)","beginCaptures":{"1":{"name":"keyword.operator.assignment.typst"}},"end":"(?=[]\\\\n);}])","patterns":[{"include":"#expression"}]},{"match":"[-*+/\\\\\\\\]","name":"keyword.operator.arithmetic.typst"}]},"forClause":{"begin":"(for)\\\\b\\\\s*","beginCaptures":{"1":{"name":"keyword.control.loop.typst"}},"end":"(?<!(?:while|and|not|if|or|in|!=|==|<=|>=|[-*+/<>]|=>?|\\\\+=|-=|\\\\*=|/=)\\\\s*)(?=[\\\\n\\\\[{])|(?=[]\\\\n#$),;}]|$)","patterns":[{"include":"#expression"}]},"forStatement":{"begin":"(?=(for\\\\b(?!-))\\\\s*)","end":"(?<=[]}])(?![\\\\[{])|(?=[]\\\\n$);}]|$)","name":"meta.expr.for.typst","patterns":[{"include":"#comments"},{"include":"#forClause"},{"include":"#codeBlock"},{"include":"#contentBlock"}]},"fs":{"lang":"fs","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.fs","patterns":[{"include":"source.fsharp"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(f(?:s|sharp|#))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(f(?:s|sharp|#))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.fs","patterns":[{"include":"source.fsharp"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(f(?:s|sharp|#))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.fs","patterns":[{"include":"source.fsharp"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(f(?:s|sharp|#))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.fs","patterns":[{"include":"source.fsharp"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(f(?:s|sharp|#))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.fs","patterns":[{"include":"source.fsharp"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"git-commit":{"lang":"git-commit","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.git-commit","patterns":[{"include":"text.git-commit"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(git-commit|COMMIT_EDITMSG|MERGE_MSG)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(git-commit|COMMIT_EDITMSG|MERGE_MSG)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.git-commit","patterns":[{"include":"text.git-commit"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(git-commit|COMMIT_EDITMSG|MERGE_MSG)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.git-commit","patterns":[{"include":"text.git-commit"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(git-commit|COMMIT_EDITMSG|MERGE_MSG)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.git-commit","patterns":[{"include":"text.git-commit"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(git-commit|COMMIT_EDITMSG|MERGE_MSG)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.git-commit","patterns":[{"include":"text.git-commit"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"git-rebase":{"lang":"git-rebase","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.git-rebase","patterns":[{"include":"text.git-rebase"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(git-rebase(?:|-todo))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(git-rebase(?:|-todo))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.git-rebase","patterns":[{"include":"text.git-rebase"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(git-rebase(?:|-todo))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.git-rebase","patterns":[{"include":"text.git-rebase"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(git-rebase(?:|-todo))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.git-rebase","patterns":[{"include":"text.git-rebase"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(git-rebase(?:|-todo))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.git-rebase","patterns":[{"include":"text.git-rebase"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"go":{"lang":"go","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.go","patterns":[{"include":"source.go"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(go(?:|lang))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(go(?:|lang))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.go","patterns":[{"include":"source.go"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(go(?:|lang))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.go","patterns":[{"include":"source.go"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(go(?:|lang))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.go","patterns":[{"include":"source.go"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(go(?:|lang))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.go","patterns":[{"include":"source.go"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"groovy":{"lang":"groovy","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.groovy","patterns":[{"include":"source.groovy"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(g(?:roovy|vy))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(g(?:roovy|vy))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.groovy","patterns":[{"include":"source.groovy"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(g(?:roovy|vy))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.groovy","patterns":[{"include":"source.groovy"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(g(?:roovy|vy))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.groovy","patterns":[{"include":"source.groovy"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(g(?:roovy|vy))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.groovy","patterns":[{"include":"source.groovy"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"handlebars":{"lang":"handlebars","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.handlebars","patterns":[{"include":"text.html.handlebars"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(h(?:andlebars|bs))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(h(?:andlebars|bs))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.handlebars","patterns":[{"include":"text.html.handlebars"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(h(?:andlebars|bs))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.handlebars","patterns":[{"include":"text.html.handlebars"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(h(?:andlebars|bs))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.handlebars","patterns":[{"include":"text.html.handlebars"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(h(?:andlebars|bs))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.handlebars","patterns":[{"include":"text.html.handlebars"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"html":{"lang":"html","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.html","patterns":[{"include":"text.html.basic"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(html?|shtml|xhtml|inc|tmpl|tpl)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(html?|shtml|xhtml|inc|tmpl|tpl)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.html","patterns":[{"include":"text.html.basic"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(html?|shtml|xhtml|inc|tmpl|tpl)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.html","patterns":[{"include":"text.html.basic"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(html?|shtml|xhtml|inc|tmpl|tpl)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.html","patterns":[{"include":"text.html.basic"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(html?|shtml|xhtml|inc|tmpl|tpl)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.html","patterns":[{"include":"text.html.basic"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"identifier":{"match":"(?<![])}])\\\\b[_\\\\p{XIDS}][-_\\\\p{XIDC}]*","name":"variable.other.readwrite.typst"},"ifClause":{"begin":"\\\\bif\\\\b(?!-)","beginCaptures":{"0":{"name":"keyword.control.conditional.typst"}},"end":"(?<!(?:while|and|not|if|or|in|!=|==|<=|>=|[-*+/<>]|=>?|\\\\+=|-=|\\\\*=|/=)\\\\s*)(?=[\\\\n\\\\[{])|(?=[]\\\\n#$),;}]|$)","patterns":[{"include":"#expression"}]},"ifStatement":{"begin":"(?=(else\\\\s+)?(if\\\\b(?!-)))","end":"(?<=[]}])(?!\\\\s*(else)\\\\b(?!-)|[\\\\[{])|(?<=else)(?!\\\\s*(?:if\\\\b(?!-)|[\\\\[{]))|(?=[]\\\\n$);}]|$)","name":"meta.expr.if.typst","patterns":[{"include":"#comments"},{"include":"#ifClause"},{"include":"#elseClause"},{"include":"#codeBlock"},{"include":"#contentBlock"}]},"importAsClause":{"begin":"\\\\b(as)\\\\b\\\\s*","beginCaptures":{"1":{"name":"keyword.control.import.typst"}},"end":"(?=[]):;}\\\\s])","patterns":[{"include":"#comments"},{"include":"#identifier"}]},"importPathClause":{"begin":"\\\\b(import\\\\b(?!-))\\\\s*","beginCaptures":{"1":{"name":"keyword.control.import.typst"}},"end":"(?=:|as)","patterns":[{"include":"#comments"},{"include":"#expression"}]},"importStatement":{"begin":"\\\\b(import\\\\b(?!-))\\\\s*","beginCaptures":{"1":{"name":"keyword.control.import.typst"}},"end":"(?=[]\\\\n);}])","name":"meta.expr.import.typst","patterns":[{"include":"#comments"},{"include":"#importPathClause"},{"match":":","name":"punctuation.separator.colon.typst"},{"match":"\\\\*","name":"keyword.operator.wildcard.typst"},{"match":",","name":"punctuation.separator.comma.typst"},{"include":"#importAsClause"},{"include":"#expression"}]},"includeStatement":{"begin":"\\\\b(include\\\\b(?!-))\\\\s*","beginCaptures":{"1":{"name":"keyword.control.import.typst"}},"end":"(?=[]\\\\n);}])","name":"meta.expr.include.typst","patterns":[{"include":"#comments"},{"include":"#expression"}]},"ini":{"lang":"ini","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.ini","patterns":[{"include":"source.ini"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(ini|conf)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(ini|conf)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.ini","patterns":[{"include":"source.ini"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(ini|conf)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.ini","patterns":[{"include":"source.ini"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(ini|conf)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.ini","patterns":[{"include":"source.ini"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(ini|conf)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.ini","patterns":[{"include":"source.ini"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"inlineRaw":{"begin":"`","beginCaptures":{"0":{"name":"punctuation.definition.raw.inline.typst"}},"end":"`","endCaptures":{"0":{"name":"punctuation.definition.raw.inline.typst"}},"name":"markup.raw.inline.typst string.other.raw.typst"},"java":{"lang":"java","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.java","patterns":[{"include":"source.java"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(java|bsh)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(java|bsh)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.java","patterns":[{"include":"source.java"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(java|bsh)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.java","patterns":[{"include":"source.java"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(java|bsh)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.java","patterns":[{"include":"source.java"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(java|bsh)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.java","patterns":[{"include":"source.java"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"js":{"lang":"js","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.js","patterns":[{"include":"source.js"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(jsx??|javascript|es6|mjs|cjs|dataviewjs)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(jsx??|javascript|es6|mjs|cjs|dataviewjs)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.js","patterns":[{"include":"source.js"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(jsx??|javascript|es6|mjs|cjs|dataviewjs)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.js","patterns":[{"include":"source.js"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(jsx??|javascript|es6|mjs|cjs|dataviewjs)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.js","patterns":[{"include":"source.js"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(jsx??|javascript|es6|mjs|cjs|dataviewjs)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.js","patterns":[{"include":"source.js"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"json":{"lang":"json","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.json","patterns":[{"include":"source.json"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(json5??|sublime-settings|sublime-menu|sublime-keymap|sublime-mousemap|sublime-theme|sublime-build|sublime-project|sublime-completions)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(json5??|sublime-settings|sublime-menu|sublime-keymap|sublime-mousemap|sublime-theme|sublime-build|sublime-project|sublime-completions)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.json","patterns":[{"include":"source.json"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(json5??|sublime-settings|sublime-menu|sublime-keymap|sublime-mousemap|sublime-theme|sublime-build|sublime-project|sublime-completions)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.json","patterns":[{"include":"source.json"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(json5??|sublime-settings|sublime-menu|sublime-keymap|sublime-mousemap|sublime-theme|sublime-build|sublime-project|sublime-completions)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.json","patterns":[{"include":"source.json"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(json5??|sublime-settings|sublime-menu|sublime-keymap|sublime-mousemap|sublime-theme|sublime-build|sublime-project|sublime-completions)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.json","patterns":[{"include":"source.json"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"jsonc":{"lang":"jsonc","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.jsonc","patterns":[{"include":"source.json.comments"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(jsonc)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(jsonc)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.jsonc","patterns":[{"include":"source.json.comments"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(jsonc)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.jsonc","patterns":[{"include":"source.json.comments"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(jsonc)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.jsonc","patterns":[{"include":"source.json.comments"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(jsonc)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.jsonc","patterns":[{"include":"source.json.comments"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"julia":{"lang":"julia","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.julia","patterns":[{"include":"source.julia"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(julia)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(julia)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.julia","patterns":[{"include":"source.julia"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(julia)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.julia","patterns":[{"include":"source.julia"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(julia)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.julia","patterns":[{"include":"source.julia"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(julia)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.julia","patterns":[{"include":"source.julia"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"keywordConstants":{"patterns":[{"match":"(?<![])}])\\\\bnone\\\\b(?!-)","name":"keyword.other.none.typst"},{"match":"(?<![])}])\\\\bauto\\\\b(?!-)","name":"keyword.other.auto.typst"},{"match":"(?<![])}])\\\\b(false|true)\\\\b(?!-)","name":"constant.language.boolean.typst"}]},"latex":{"lang":"latex","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.latex","patterns":[{"include":"text.tex.latex"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})((?:la|)tex)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})((?:la|)tex)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.latex","patterns":[{"include":"text.tex.latex"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})((?:la|)tex)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.latex","patterns":[{"include":"text.tex.latex"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})((?:la|)tex)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.latex","patterns":[{"include":"text.tex.latex"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})((?:la|)tex)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.latex","patterns":[{"include":"text.tex.latex"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"less":{"lang":"less","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.less","patterns":[{"include":"source.css.less"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(less)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(less)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.less","patterns":[{"include":"source.css.less"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(less)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.less","patterns":[{"include":"source.css.less"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(less)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.less","patterns":[{"include":"source.css.less"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(less)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.less","patterns":[{"include":"source.css.less"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"letBindingClause":{"begin":"(let\\\\b(?!-))\\\\s*","beginCaptures":{"1":{"name":"storage.type.typst"}},"end":"(?=[]\\\\n;=}])","patterns":[{"include":"#comments"},{"begin":"\\\\b([_\\\\p{XIDS}][-_\\\\p{XIDC}]*)(\\\\()","beginCaptures":{"1":{"name":"entity.name.function.typst","patterns":[{"include":"#primitiveFunctions"}]},"2":{"name":"meta.brace.round.typst"}},"end":"\\\\)|(?=[];}])","endCaptures":{"0":{"name":"meta.brace.round.typst"}},"patterns":[{"include":"#patternOrArgsBody"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"meta.brace.round.typst"}},"end":"\\\\)|(?=[];}])","endCaptures":{"0":{"name":"meta.brace.round.typst"}},"patterns":[{"include":"#patternOrArgsBody"}]},{"include":"#identifier"}]},"letInitClause":{"begin":"=\\\\s*","beginCaptures":{"0":{"name":"keyword.operator.assignment.typst"}},"end":"(?=[]\\\\n);}])","patterns":[{"include":"#comments"},{"include":"#expression"}]},"letStatement":{"begin":"(?=(let\\\\b(?!-)))","end":"(?!=)(?=[]);}\\\\s])","name":"meta.expr.let.typst","patterns":[{"include":"#comments"},{"include":"#letBindingClause"},{"include":"#letInitClause"}]},"lineComment":{"begin":"//","beginCaptures":{"0":{"name":"punctuation.definition.comment.typst"}},"end":"(?=$|\\\\n)","name":"comment.line.double-slash.typst"},"literalContent":{"patterns":[{"include":"#paramOrArgName"},{"include":"#expression"}]},"log":{"lang":"log","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.log","patterns":[{"include":"text.log"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(log)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(log)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.log","patterns":[{"include":"text.log"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(log)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.log","patterns":[{"include":"text.log"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(log)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.log","patterns":[{"include":"text.log"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(log)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.log","patterns":[{"include":"text.log"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"lua":{"lang":"lua","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.lua","patterns":[{"include":"source.lua"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(lua)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(lua)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.lua","patterns":[{"include":"source.lua"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(lua)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.lua","patterns":[{"include":"source.lua"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(lua)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.lua","patterns":[{"include":"source.lua"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(lua)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.lua","patterns":[{"include":"source.lua"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"makefile":{"lang":"makefile","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.makefile","patterns":[{"include":"source.makefile"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})((?:m|GNUm|OCamlM)akefile)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})((?:m|GNUm|OCamlM)akefile)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.makefile","patterns":[{"include":"source.makefile"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})((?:m|GNUm|OCamlM)akefile)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.makefile","patterns":[{"include":"source.makefile"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})((?:m|GNUm|OCamlM)akefile)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.makefile","patterns":[{"include":"source.makefile"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})((?:m|GNUm|OCamlM)akefile)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.makefile","patterns":[{"include":"source.makefile"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"markdown":{"lang":"markdown","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.markdown","patterns":[{"include":"text.html.markdown"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(m(?:arkdown|d))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(m(?:arkdown|d))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.markdown","patterns":[{"include":"text.html.markdown"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(m(?:arkdown|d))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.markdown","patterns":[{"include":"text.html.markdown"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(m(?:arkdown|d))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.markdown","patterns":[{"include":"text.html.markdown"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(m(?:arkdown|d))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.markdown","patterns":[{"include":"text.html.markdown"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"markup":{"patterns":[{"include":"#common"},{"include":"#markupEnterCode"},{"include":"#markupEscape"},{"match":"\\\\\\\\","name":"punctuation.definition.linebreak.typst"},{"match":"~","name":"punctuation.definition.nonbreaking-space.typst"},{"match":"-\\\\?","name":"punctuation.definition.shy.typst"},{"match":"---","name":"punctuation.definition.em-dash.typst"},{"match":"--","name":"punctuation.definition.en-dash.typst"},{"match":"\\\\.\\\\.\\\\.","name":"punctuation.definition.ellipsis.typst"},{"include":"#markupLink"},{"include":"#markupMath"},{"include":"#markupHeading"},{"match":"^\\\\s*-\\\\s+","name":"punctuation.definition.list.unnumbered.typst"},{"match":"^\\\\s*([0-9]+\\\\.|\\\\+)\\\\s+","name":"punctuation.definition.list.numbered.typst"},{"include":"#markupLabel"},{"include":"#markupReference"},{"include":"#markupBrace"}]},"markupBold":{"begin":"(^\\\\*|\\\\*$|((?<=[\\\\W\\\\p{Han}\\\\p{Hangul}\\\\p{Katakana}\\\\p{Hiragana}])\\\\*)|(\\\\*(?=[\\\\W\\\\p{Han}\\\\p{Hangul}\\\\p{Katakana}\\\\p{Hiragana}])))","beginCaptures":{"0":{"name":"punctuation.definition.bold.typst"}},"end":"(^\\\\*|\\\\*$|((?<=[\\\\W\\\\p{Han}\\\\p{Hangul}\\\\p{Katakana}\\\\p{Hiragana}])\\\\*)|(\\\\*(?=[\\\\W\\\\p{Han}\\\\p{Hangul}\\\\p{Katakana}\\\\p{Hiragana}])))|\\\\n|(?=])","endCaptures":{"0":{"name":"punctuation.definition.bold.typst"}},"name":"markup.bold.typst","patterns":[{"include":"#markup"}]},"markupBrace":{"match":"[]()\\\\[{}]","name":"markup.content.brace.typst"},"markupEnterCode":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.hash.typst"}},"match":"(#)\\\\s"},{"captures":{"1":{"name":"punctuation.definition.hash.typst"},"2":{"name":"punctuation.terminator.statement.typst"}},"match":"(#)(;)"},{"begin":"#(?=(?:break|continue|and|or|not|return|as|in|include|import|let|else|if|for|while|context|set|show)\\\\b(?!-))","beginCaptures":{"0":{"name":"keyword.control.hash.typst"}},"end":"(?<=;)|(?<=[])}])(?![$(;\\\\[]|\\\\.(?<![])}])\\\\b[_\\\\p{XIDS}][-_\\\\p{XIDC}]*(?=[(\\\\[]))|(?<!#)(?=[\\"\\\\\\\\_{])|(?<![]#}])(?=\\\\[)|(?=\\\\.(?:[^0-9_\\\\p{XIDS}]|$))|(?=[]#$)-\\\\-/=}\\\\s]|$)|(;)","endCaptures":{"1":{"name":"punctuation.terminator.statement.typst"}},"patterns":[{"include":"#expression"}]},{"begin":"#(?=(?:any|str|int|float|bool|type|length|content|array|dictionary|arguments)\\\\b(?!-))","beginCaptures":{"0":{"name":"entity.name.type.primitive.hash.typst"}},"end":"(?<=;)|(?<=[])}])(?![$(;\\\\[]|\\\\.(?<![])}])\\\\b[_\\\\p{XIDS}][-_\\\\p{XIDC}]*(?=[(\\\\[]))|(?<!#)(?=[\\"\\\\\\\\_{])|(?<![]#}])(?=\\\\[)|(?=\\\\.(?:[^0-9_\\\\p{XIDS}]|$))|(?=[]#$)-\\\\-/=}\\\\s]|$)|(;)","endCaptures":{"1":{"name":"punctuation.terminator.statement.typst"}},"patterns":[{"include":"#expression"}]},{"begin":"#(?=none\\\\b(?!-))","beginCaptures":{"0":{"name":"keyword.other.none.hash.typst"}},"end":"(?<=;)|(?<=[])}])(?![$(;\\\\[]|\\\\.(?<![])}])\\\\b[_\\\\p{XIDS}][-_\\\\p{XIDC}]*(?=[(\\\\[]))|(?<!#)(?=[\\"\\\\\\\\_{])|(?<![]#}])(?=\\\\[)|(?=\\\\.(?:[^0-9_\\\\p{XIDS}]|$))|(?=[]#$)-\\\\-/=}\\\\s]|$)|(;)","endCaptures":{"1":{"name":"punctuation.terminator.statement.typst"}},"patterns":[{"include":"#expression"}]},{"begin":"#(?=(?:false|true)\\\\b(?!-))","beginCaptures":{"0":{"name":"constant.language.boolean.hash.typst"}},"end":"(?<=;)|(?<=[])}])(?![$(;\\\\[]|\\\\.(?<![])}])\\\\b[_\\\\p{XIDS}][-_\\\\p{XIDC}]*(?=[(\\\\[]))|(?<!#)(?=[\\"\\\\\\\\_{])|(?<![]#}])(?=\\\\[)|(?=\\\\.(?:[^0-9_\\\\p{XIDS}]|$))|(?=[]#$)-\\\\-/=}\\\\s]|$)|(;)","endCaptures":{"1":{"name":"punctuation.terminator.statement.typst"}},"patterns":[{"include":"#expression"}]},{"begin":"#(?=[_\\\\p{XIDS}][-_\\\\p{XIDC}]*[(\\\\[])","beginCaptures":{"0":{"name":"entity.name.function.hash.typst"}},"end":"(?<=;)|(?<=[])}])(?![$(;\\\\[]|\\\\.(?<![])}])\\\\b[_\\\\p{XIDS}][-_\\\\p{XIDC}]*(?=[(\\\\[]))|(?<!#)(?=[\\"\\\\\\\\_{])|(?<![]#}])(?=\\\\[)|(?=\\\\.(?:[^0-9_\\\\p{XIDS}]|$))|(?=[]#$)-\\\\-/=}\\\\s]|$)|(;)","endCaptures":{"1":{"name":"punctuation.terminator.statement.typst"}},"patterns":[{"include":"#expression"}]},{"begin":"#(?=[_\\\\p{XIDS}])","beginCaptures":{"0":{"name":"variable.other.readwrite.hash.typst"}},"end":"(?<=;)|(?<=[])}])(?![$(;\\\\[]|\\\\.(?<![])}])\\\\b[_\\\\p{XIDS}][-_\\\\p{XIDC}]*(?=[(\\\\[]))|(?<!#)(?=[\\"\\\\\\\\_{])|(?<![]#}])(?=\\\\[)|(?=\\\\.(?:[^0-9_\\\\p{XIDS}]|$))|(?=[]#$)-\\\\-/=}\\\\s]|$)|(;)","endCaptures":{"1":{"name":"punctuation.terminator.statement.typst"}},"patterns":[{"include":"#expression"}]},{"begin":"#(?=\\")","beginCaptures":{"0":{"name":"string.hash.hash.typst"}},"end":"(?<=;)|(?<=[])}])(?![$(;\\\\[]|\\\\.(?<![])}])\\\\b[_\\\\p{XIDS}][-_\\\\p{XIDC}]*(?=[(\\\\[]))|(?<!#)(?=[\\"\\\\\\\\_{])|(?<![]#}])(?=\\\\[)|(?=\\\\.(?:[^0-9_\\\\p{XIDS}]|$))|(?=[]#$)-\\\\-/=}\\\\s]|$)|(;)","endCaptures":{"1":{"name":"punctuation.terminator.statement.typst"}},"patterns":[{"include":"#expression"}]},{"begin":"#(?=\\\\.??\\\\d)","beginCaptures":{"0":{"name":"constant.numeric.hash.typst"}},"end":"(?<=;)|(?<=[])}])(?![$(;\\\\[]|\\\\.(?<![])}])\\\\b[_\\\\p{XIDS}][-_\\\\p{XIDC}]*(?=[(\\\\[]))|(?<!#)(?=[\\"\\\\\\\\_{])|(?<![]#}])(?=\\\\[)|(?=\\\\.(?:[^0-9_\\\\p{XIDS}]|$))|(?=[]#$)-\\\\-/=}\\\\s]|$)|(;)","endCaptures":{"1":{"name":"punctuation.terminator.statement.typst"}},"patterns":[{"include":"#expression"}]},{"begin":"#","beginCaptures":{"0":{"name":"keyword.control.hash.typst"}},"end":"(?<=;)|(?<=[])}])(?![$(;\\\\[]|\\\\.(?<![])}])\\\\b[_\\\\p{XIDS}][-_\\\\p{XIDC}]*(?=[(\\\\[]))|(?<!#)(?=[\\"\\\\\\\\_{])|(?<![]#}])(?=\\\\[)|(?=\\\\.(?:[^0-9_\\\\p{XIDS}]|$))|(?=[]#$)-\\\\-/=}\\\\s]|$)|(;)","endCaptures":{"1":{"name":"punctuation.terminator.statement.typst"}},"patterns":[{"include":"#expression"}]}]},"markupEscape":{"match":"\\\\\\\\(?:[^u]|u\\\\{?[0-9A-Za-z]*}?)","name":"constant.character.escape.content.typst"},"markupHeading":{"begin":"^\\\\s*(=+)(?:(?=[\\\\n\\\\r]|$)|[^\\\\n\\\\S]+)","beginCaptures":{"1":{"name":"punctuation.definition.heading.typst"}},"end":"\\\\n|(?=<)","name":"markup.heading.typst","patterns":[{"include":"#markup"}]},"markupItalic":{"begin":"(^_|_$|((?<=[\\\\W\\\\p{Han}\\\\p{Hangul}\\\\p{Katakana}\\\\p{Hiragana}])_)|(_(?=[\\\\W\\\\p{Han}\\\\p{Hangul}\\\\p{Katakana}\\\\p{Hiragana}])))","beginCaptures":{"0":{"name":"punctuation.definition.italic.typst"}},"end":"(^_|_$|((?<=[\\\\W\\\\p{Han}\\\\p{Hangul}\\\\p{Katakana}\\\\p{Hiragana}])_)|(_(?=[\\\\W\\\\p{Han}\\\\p{Hangul}\\\\p{Katakana}\\\\p{Hiragana}])))|\\\\n|(?=])","endCaptures":{"0":{"name":"punctuation.definition.italic.typst"}},"name":"markup.italic.typst","patterns":[{"include":"#markup"}]},"markupLabel":{"match":"<[_\\\\p{XIDS}][-.:_\\\\p{XIDC}]*>","name":"string.other.label.typst"},"markupLink":{"begin":"https?://","end":"(?=[])\\\\s]|(?=[!\',.:;?](?:[])\\\\s]|$)))","name":"markup.underline.link.typst","patterns":[{"include":"#markupLinkParen"},{"include":"#markupLinkBracket"},{"match":"(^|\\\\G)(?:[-#-\\\\&*+/-9=@-Z_a-z~]+|[!\',.:;?]+(?![])\\\\s]|$))"}]},"markupLinkBracket":{"begin":"\\\\[","end":"]|(?=[)\\\\s])","patterns":[{"include":"#markupLink"}]},"markupLinkParen":{"begin":"\\\\(","end":"\\\\)|(?=[]\\\\s])","patterns":[{"include":"#markupLink"}]},"markupMath":{"begin":"\\\\$","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.math.typst"}},"end":"\\\\$","endCaptures":{"0":{"name":"punctuation.definition.string.end.math.typst"}},"name":"markup.math.typst","patterns":[{"include":"#math"}]},"markupReference":{"captures":{"1":{"name":"punctuation.definition.reference.typst"}},"match":"(@)[_\\\\p{XIDS}](?:[-_\\\\p{XIDC}]|[.:](?!:\\\\s|$|([.:]*[^-.:_\\\\p{XIDC}])))*","name":"string.other.reference.typst"},"math":{"patterns":[{"include":"#markupEscape"},{"include":"#stringLiteral"},{"include":"#markupEnterCode"},{"begin":"([/^_√∛∜])\\\\s*([(\\\\[{⌈⌊⌜⌞❲⟦⟨⟪⟬⟮⦃⦅⦇⦉⦋⦍⦏⦑⦓⦕⦗⧘⧚⧼])","beginCaptures":{"1":{"name":"punctuation.math.operator.typst"},"2":{"name":"constant.other.symbol.typst"}},"end":"([])}⌉⌋⌝⌟❳⟧⟩⟫⟭⟯⦄⦆⦈⦊⦌⦎⦐⦒⦔⦖⦘⧙⧛⧽])|(?=\\\\$)|$","endCaptures":{"0":{"name":"constant.other.symbol.typst"}},"patterns":[{"include":"#mathParen"},{"include":"#math"}]},{"match":"[\\\\&\'/^_√∛∜]","name":"punctuation.math.operator.typst"},{"include":"#strictMathFuncCallOrPropAccess"},{"include":"#mathPrimary"},{"include":"#mathMoreBrace"}]},"mathBrace":{"match":"[{}]","name":"markup.content.brace.typst"},"mathCallArgs":{"begin":"\\\\(","beginCaptures":{"0":{"name":"meta.brace.round.typst"}},"end":"\\\\)|(?=\\\\$)","endCaptures":{"0":{"name":"meta.brace.round.typst"}},"patterns":[{"include":"#comments"},{"include":"#mathParen"},{"match":",","name":"punctuation.separator.comma.typst"},{"include":"#math"}]},"mathIdentifier":{"match":"(?:(?<=_)|\\\\b)(?!_)\\\\p{XIDS}(?:(?!_)\\\\p{XIDC})+","name":"variable.other.readwrite.typst"},"mathMoreBrace":{"match":"[]()\\\\[{}]","name":"markup.content.brace.typst"},"mathParen":{"begin":"[(\\\\[{⌈⌊⌜⌞❲⟦⟨⟪⟬⟮⦃⦅⦇⦉⦋⦍⦏⦑⦓⦕⦗⧘⧚⧼]","beginCaptures":{"0":{"name":"markup.content.brace.typst"}},"end":"([])}⌉⌋⌝⌟❳⟧⟩⟫⟭⟯⦄⦆⦈⦊⦌⦎⦐⦒⦔⦖⦘⧙⧛⧽])|(?=\\\\$)|$","endCaptures":{"0":{"name":"markup.content.brace.typst"}},"patterns":[{"include":"#mathParen"},{"include":"#math"}]},"mathPrimary":{"begin":"(?:(?<=_)|\\\\b)(?!_)\\\\p{XIDS}(?:(?!_)\\\\p{XIDC})+","beginCaptures":{"0":{"name":"variable.other.readwrite.typst"}},"end":"(?!\\\\(|\\\\.\\\\p{XIDS})|(?=\\\\$)","patterns":[{"include":"#strictMathFuncCallOrPropAccess"},{"captures":{"1":{"name":"keyword.operator.accessor.typst"},"2":{"name":"variable.other.readwrite.typst"}},"match":"(\\\\.)((?!_)\\\\p{XIDS}(?:(?!_)\\\\p{XIDC})*)"},{"include":"#mathCallArgs"},{"include":"#mathIdentifier"}]},"objc":{"lang":"objc","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.objc","patterns":[{"include":"source.objc"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(objc|objective-c|mm|obj-c|m)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(objc|objective-c|mm|obj-c|m)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.objc","patterns":[{"include":"source.objc"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(objc|objective-c|mm|obj-c|m)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.objc","patterns":[{"include":"source.objc"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(objc|objective-c|mm|obj-c|m)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.objc","patterns":[{"include":"source.objc"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(objc|objective-c|mm|obj-c|m)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.objc","patterns":[{"include":"source.objc"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"paramOrArgName":{"captures":{"2":{"name":"variable.other.readwrite.typst"},"3":{"name":"punctuation.separator.colon.typst"}},"match":"(?!(show|import|include)\\\\s*:)((?<![])}])\\\\b[_\\\\p{XIDS}][-_\\\\p{XIDC}]*)\\\\s*(:)"},"patternOrArgsBody":{"patterns":[{"include":"#comments"},{"include":"#paramOrArgName"},{"include":"#expression"}]},"perl":{"lang":"perl","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.perl","patterns":[{"include":"source.perl"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(perl|pl|pm|pod|t|PL|psgi|vcl)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(perl|pl|pm|pod|t|PL|psgi|vcl)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.perl","patterns":[{"include":"source.perl"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(perl|pl|pm|pod|t|PL|psgi|vcl)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.perl","patterns":[{"include":"source.perl"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(perl|pl|pm|pod|t|PL|psgi|vcl)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.perl","patterns":[{"include":"source.perl"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(perl|pl|pm|pod|t|PL|psgi|vcl)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.perl","patterns":[{"include":"source.perl"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"perl6":{"lang":"perl6","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.perl6","patterns":[{"include":"source.perl.6"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(perl6|p6|pl6|pm6|nqp)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(perl6|p6|pl6|pm6|nqp)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.perl6","patterns":[{"include":"source.perl.6"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(perl6|p6|pl6|pm6|nqp)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.perl6","patterns":[{"include":"source.perl.6"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(perl6|p6|pl6|pm6|nqp)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.perl6","patterns":[{"include":"source.perl.6"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(perl6|p6|pl6|pm6|nqp)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.perl6","patterns":[{"include":"source.perl.6"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"php":{"lang":"php","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.php","patterns":[{"include":"text.html.basic"},{"include":"source.php"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(php3??|php4|php5|phtml|aw|ctp)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(php3??|php4|php5|phtml|aw|ctp)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.php","patterns":[{"include":"text.html.basic"},{"include":"source.php"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(php3??|php4|php5|phtml|aw|ctp)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.php","patterns":[{"include":"text.html.basic"},{"include":"source.php"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(php3??|php4|php5|phtml|aw|ctp)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.php","patterns":[{"include":"text.html.basic"},{"include":"source.php"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(php3??|php4|php5|phtml|aw|ctp)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.php","patterns":[{"include":"text.html.basic"},{"include":"source.php"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"powershell":{"lang":"powershell","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.powershell","patterns":[{"include":"source.powershell"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(p(?:owershell|s1|sm1|sd1))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(p(?:owershell|s1|sm1|sd1))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.powershell","patterns":[{"include":"source.powershell"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(p(?:owershell|s1|sm1|sd1))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.powershell","patterns":[{"include":"source.powershell"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(p(?:owershell|s1|sm1|sd1))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.powershell","patterns":[{"include":"source.powershell"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(p(?:owershell|s1|sm1|sd1))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.powershell","patterns":[{"include":"source.powershell"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"primitiveColors":{"match":"\\\\b(red|blue|green|black|white|gray|silver|eastern|navy|aqua|teal|purple|fuchsia|maroon|orange|yellow|olive|lime|ltr|rtl|ttb|btt|start|left|center|right|end|top|horizon|bottom)\\\\b(?!-)","name":"variable.other.constant.builtin.typst"},"primitiveFunctions":{"match":"\\\\b(?:luma|oklab|oklch|rgb|cmyk|range)\\\\b(?!-)","name":"support.function.builtin.typst"},"primitiveTypes":{"match":"\\\\b(any|str|int|float|bool|type|length|content|array|dictionary|arguments)\\\\b(?!-)","name":"entity.name.type.primitive.typst"},"pug":{"lang":"pug","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.pug","patterns":[{"include":"text.pug"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(pug|jade)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(pug|jade)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.pug","patterns":[{"include":"text.pug"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(pug|jade)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.pug","patterns":[{"include":"text.pug"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(pug|jade)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.pug","patterns":[{"include":"text.pug"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(pug|jade)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.pug","patterns":[{"include":"text.pug"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"python":{"lang":"python","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.python","patterns":[{"include":"source.python"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(python|py3??|rpy|pyw|cpy|SConstruct|Sconstruct|sconstruct|SConscript|gypi??)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(python|py3??|rpy|pyw|cpy|SConstruct|Sconstruct|sconstruct|SConscript|gypi??)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.python","patterns":[{"include":"source.python"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(python|py3??|rpy|pyw|cpy|SConstruct|Sconstruct|sconstruct|SConscript|gypi??)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.python","patterns":[{"include":"source.python"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(python|py3??|rpy|pyw|cpy|SConstruct|Sconstruct|sconstruct|SConscript|gypi??)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.python","patterns":[{"include":"source.python"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(python|py3??|rpy|pyw|cpy|SConstruct|Sconstruct|sconstruct|SConscript|gypi??)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.python","patterns":[{"include":"source.python"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"r":{"lang":"r","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.r","patterns":[{"include":"source.r"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})([RSrs]|Rprofile)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})([RSrs]|Rprofile)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.r","patterns":[{"include":"source.r"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})([RSrs]|Rprofile)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.r","patterns":[{"include":"source.r"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})([RSrs]|Rprofile)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.r","patterns":[{"include":"source.r"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})([RSrs]|Rprofile)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.r","patterns":[{"include":"source.r"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"re":{"lang":"re","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.re","patterns":[{"include":"source.regexp.python"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(re)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(re)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.re","patterns":[{"include":"source.regexp.python"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(re)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.re","patterns":[{"include":"source.regexp.python"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(re)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.re","patterns":[{"include":"source.regexp.python"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(re)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.re","patterns":[{"include":"source.regexp.python"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"regexp":{"lang":"regexp","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.regexp","patterns":[{"include":"source.js.regexp"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(regexp)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(regexp)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.regexp","patterns":[{"include":"source.js.regexp"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(regexp)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.regexp","patterns":[{"include":"source.js.regexp"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(regexp)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.regexp","patterns":[{"include":"source.js.regexp"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(regexp)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.regexp","patterns":[{"include":"source.js.regexp"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"ruby":{"lang":"ruby","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.ruby","patterns":[{"include":"source.ruby"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(ruby|rbx??|rjs|Rakefile|rake|cgi|fcgi|gemspec|irbrc|Capfile|ru|prawn|Cheffile|Gemfile|Guardfile|Hobofile|Vagrantfile|Appraisals|Rantfile|Berksfile|Berksfile\\\\.lock|Thorfile|Puppetfile)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(ruby|rbx??|rjs|Rakefile|rake|cgi|fcgi|gemspec|irbrc|Capfile|ru|prawn|Cheffile|Gemfile|Guardfile|Hobofile|Vagrantfile|Appraisals|Rantfile|Berksfile|Berksfile\\\\.lock|Thorfile|Puppetfile)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.ruby","patterns":[{"include":"source.ruby"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(ruby|rbx??|rjs|Rakefile|rake|cgi|fcgi|gemspec|irbrc|Capfile|ru|prawn|Cheffile|Gemfile|Guardfile|Hobofile|Vagrantfile|Appraisals|Rantfile|Berksfile|Berksfile\\\\.lock|Thorfile|Puppetfile)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.ruby","patterns":[{"include":"source.ruby"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(ruby|rbx??|rjs|Rakefile|rake|cgi|fcgi|gemspec|irbrc|Capfile|ru|prawn|Cheffile|Gemfile|Guardfile|Hobofile|Vagrantfile|Appraisals|Rantfile|Berksfile|Berksfile\\\\.lock|Thorfile|Puppetfile)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.ruby","patterns":[{"include":"source.ruby"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(ruby|rbx??|rjs|Rakefile|rake|cgi|fcgi|gemspec|irbrc|Capfile|ru|prawn|Cheffile|Gemfile|Guardfile|Hobofile|Vagrantfile|Appraisals|Rantfile|Berksfile|Berksfile\\\\.lock|Thorfile|Puppetfile)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.ruby","patterns":[{"include":"source.ruby"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"rust":{"lang":"rust","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.rust","patterns":[{"include":"source.rust"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(r(?:ust|s))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(r(?:ust|s))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.rust","patterns":[{"include":"source.rust"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(r(?:ust|s))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.rust","patterns":[{"include":"source.rust"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(r(?:ust|s))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.rust","patterns":[{"include":"source.rust"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(r(?:ust|s))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.rust","patterns":[{"include":"source.rust"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"scala":{"lang":"scala","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.scala","patterns":[{"include":"source.scala"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(s(?:cala|bt))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(s(?:cala|bt))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.scala","patterns":[{"include":"source.scala"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(s(?:cala|bt))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.scala","patterns":[{"include":"source.scala"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(s(?:cala|bt))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.scala","patterns":[{"include":"source.scala"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(s(?:cala|bt))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.scala","patterns":[{"include":"source.scala"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"scss":{"lang":"scss","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.scss","patterns":[{"include":"source.css.scss"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(scss)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(scss)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.scss","patterns":[{"include":"source.css.scss"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(scss)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.scss","patterns":[{"include":"source.css.scss"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(scss)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.scss","patterns":[{"include":"source.css.scss"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(scss)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.scss","patterns":[{"include":"source.css.scss"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"setClause":{"begin":"(set)\\\\b\\\\s+","beginCaptures":{"1":{"name":"keyword.control.other.typst"}},"end":"(?=if)|(?=[]\\\\n$);\\\\[{}])","patterns":[{"include":"#comments"},{"include":"#strictFuncCallOrPropAccess"},{"include":"#identifier"}]},"setIfClause":{"begin":"(if\\\\b(?!-))\\\\s*","beginCaptures":{"1":{"name":"keyword.control.conditional.typst"}},"end":"(?<=\\\\S)(?<!and|or|not|in|!=|==|<=|>=|[-*+/<=>]|\\\\+=|-=|\\\\*=|/=)(?!\\\\s*(?:and|or|not|in|!=|==|<=|>=|[-*+/<=>]|\\\\+=|-=|\\\\*=|/=|\\\\.))|(?=[]\\\\n);}])","patterns":[{"include":"#comments"},{"include":"#expression"}]},"setStatement":{"begin":"(?=(set\\\\b(?!-))\\\\s*(?<![])}])\\\\b[_\\\\p{XIDS}][-_\\\\p{XIDC}]*)","end":"(?<=\\\\))(?!\\\\s*if\\\\b)|(?=[]$);\\\\[{}\\\\s])","name":"meta.expr.set.typst","patterns":[{"include":"#comments"},{"include":"#setClause"},{"include":"#setIfClause"}]},"shebang":{"begin":"^(#!)","beginCaptures":{"1":{"name":"punctuation.definition.comment.line.shebang.typst"}},"end":"\\\\n","name":"comment.line.shebang.typst"},"shell":{"lang":"shell","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.shell","patterns":[{"include":"source.shell"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(shell|sh|bash|zsh|bashrc|bash_profile|bash_login|profile|bash_logout|\\\\.textmate_init)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(shell|sh|bash|zsh|bashrc|bash_profile|bash_login|profile|bash_logout|\\\\.textmate_init)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.shell","patterns":[{"include":"source.shell"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(shell|sh|bash|zsh|bashrc|bash_profile|bash_login|profile|bash_logout|\\\\.textmate_init)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.shell","patterns":[{"include":"source.shell"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(shell|sh|bash|zsh|bashrc|bash_profile|bash_login|profile|bash_logout|\\\\.textmate_init)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.shell","patterns":[{"include":"source.shell"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(shell|sh|bash|zsh|bashrc|bash_profile|bash_login|profile|bash_logout|\\\\.textmate_init)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.shell","patterns":[{"include":"source.shell"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"showAnyClause":{"captures":{"1":{"name":"keyword.control.other.typst"}},"match":"(show)\\\\b\\\\s*(?=:)"},"showSelectClause":{"begin":"(show)\\\\b\\\\s*","beginCaptures":{"1":{"name":"keyword.control.other.typst"}},"end":"(?=[]\\\\n$:;}])","patterns":[{"include":"#comments"},{"include":"#markupLabel"},{"include":"#expression"}]},"showStatement":{"begin":"(?=(show\\\\b(?!-)))","end":"(?=[]$);\\\\[{}\\\\s])","name":"meta.expr.show.typst","patterns":[{"include":"#comments"},{"include":"#showAnyClause"},{"include":"#showSelectClause"},{"include":"#showSubstClause"}]},"showSubstClause":{"begin":"(:)\\\\s*","beginCaptures":{"1":{"name":"punctuation.separator.colon.typst"}},"end":"(?=[]\\\\n);}])","patterns":[{"include":"#comments"},{"include":"#expression"}]},"sql":{"lang":"sql","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.sql","patterns":[{"include":"source.sql"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(sql|ddl|dml)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(sql|ddl|dml)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.sql","patterns":[{"include":"source.sql"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(sql|ddl|dml)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.sql","patterns":[{"include":"source.sql"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(sql|ddl|dml)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.sql","patterns":[{"include":"source.sql"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(sql|ddl|dml)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.sql","patterns":[{"include":"source.sql"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"strictComments":{"patterns":[{"include":"#blockComment"},{"include":"#strictLineComment"}]},"strictFuncCallOrPropAccess":{"begin":"(?=(\\\\.)?(?<![])}])\\\\b[_\\\\p{XIDS}][-_\\\\p{XIDC}]*(?=[(\\\\[]))","end":"(?<=[])])(?![(.\\\\[])|(?=[]#$),;}\\\\s]|$)","name":"meta.expr.call.typst","patterns":[{"match":"\\\\.","name":"keyword.operator.accessor.typst"},{"captures":{"0":{"patterns":[{"include":"#primitiveFunctions"},{"include":"#primitiveTypes"},{"match":".*","name":"entity.name.function.typst"}]}},"match":"(?<![])}])\\\\b[_\\\\p{XIDS}][-_\\\\p{XIDC}]*(?=[(\\\\[])"},{"include":"#identifier"},{"captures":{"1":{"name":"meta.brace.round.typst"},"2":{"name":"meta.brace.round.typst"}},"match":"(\\\\()\\\\s*(\\\\))"},{"include":"#callArgs"},{"include":"#contentBlock"}]},"strictLineComment":{"begin":"(?<!:)//","beginCaptures":{"0":{"name":"punctuation.definition.comment.typst"}},"end":"(?=$|\\\\n)","name":"comment.line.double-slash.typst"},"strictMathFuncCallOrPropAccess":{"begin":"(?=(?:(\\\\.)((?!_)\\\\p{XIDS}(?:(?!_)\\\\p{XIDC})*)|(?:(?<=_)|\\\\b)(?!_)\\\\p{XIDS}(?:(?!_)\\\\p{XIDC})+)(?=\\\\())","end":"(?<=\\\\))(?![(.]|(?:(?<=_)|\\\\b)(?!_)\\\\p{XIDS}(?:(?!_)\\\\p{XIDC})+(?=\\\\())|(?=[]$),;}\\\\s]|$)","name":"meta.expr.call.typst","patterns":[{"match":"\\\\.","name":"keyword.operator.accessor.typst"},{"captures":{"0":{"name":"entity.name.function.typst","patterns":[{"include":"#primitiveFunctions"},{"include":"#primitiveTypes"},{"match":".*","name":"entity.name.function.typst"}]}},"match":"(?:(?<=_)|\\\\b)(?!_)\\\\p{XIDS}(?:(?!_)\\\\p{XIDC})+(?=\\\\()","name":"entity.name.function.typst"},{"include":"#mathIdentifier"},{"captures":{"1":{"name":"meta.brace.round.typst"},"2":{"name":"meta.brace.round.typst"}},"match":"(\\\\()\\\\s*(\\\\))"},{"include":"#mathCallArgs"}]},"stringLiteral":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.typst"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.typst"}},"name":"string.quoted.double.typst","patterns":[{"captures":{"1":{"name":"constant.character.escape.string.typst"}},"match":"(\\\\\\\\(?:[^u]|u\\\\{?[0-9A-Za-z]*}?))|[^\\"\\\\\\\\]+"}]},"swift":{"lang":"swift","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.swift","patterns":[{"include":"source.swift"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(swift)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(swift)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.swift","patterns":[{"include":"source.swift"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(swift)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.swift","patterns":[{"include":"source.swift"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(swift)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.swift","patterns":[{"include":"source.swift"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(swift)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.swift","patterns":[{"include":"source.swift"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"systemverilog":{"lang":"systemverilog","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.systemverilog","patterns":[{"include":"source.systemverilog"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(s(?:ystemverilog|vh??))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(s(?:ystemverilog|vh??))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.systemverilog","patterns":[{"include":"source.systemverilog"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(s(?:ystemverilog|vh??))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.systemverilog","patterns":[{"include":"source.systemverilog"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(s(?:ystemverilog|vh??))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.systemverilog","patterns":[{"include":"source.systemverilog"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(s(?:ystemverilog|vh??))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.systemverilog","patterns":[{"include":"source.systemverilog"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"ts":{"lang":"ts","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.ts","patterns":[{"include":"source.ts"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(t(?:s|ypescript))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(t(?:s|ypescript))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.ts","patterns":[{"include":"source.ts"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(t(?:s|ypescript))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.ts","patterns":[{"include":"source.ts"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(t(?:s|ypescript))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.ts","patterns":[{"include":"source.ts"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(t(?:s|ypescript))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.ts","patterns":[{"include":"source.ts"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"tsx":{"lang":"tsx","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.tsx","patterns":[{"include":"source.tsx"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(tsx)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(tsx)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.tsx","patterns":[{"include":"source.tsx"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(tsx)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.tsx","patterns":[{"include":"source.tsx"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(tsx)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.tsx","patterns":[{"include":"source.tsx"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(tsx)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.tsx","patterns":[{"include":"source.tsx"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"twig":{"lang":"twig","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.twig","patterns":[{"include":"text.html.twig"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(twig)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(twig)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.twig","patterns":[{"include":"text.html.twig"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(twig)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.twig","patterns":[{"include":"text.html.twig"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(twig)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.twig","patterns":[{"include":"text.html.twig"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(twig)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.twig","patterns":[{"include":"text.html.twig"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"typst":{"lang":"typst","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.typst","patterns":[{"include":"source.typst"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(typ(?:st|))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(typ(?:st|))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.typst","patterns":[{"include":"source.typst"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(typ(?:st|))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.typst","patterns":[{"include":"source.typst"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(typ(?:st|))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.typst","patterns":[{"include":"source.typst"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(typ(?:st|))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.typst","patterns":[{"include":"source.typst"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"typst-code":{"lang":"typst-code","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.typst-code","patterns":[{"include":"#code"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(typ(?:st-code|c))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(typ(?:st-code|c))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.typst-code","patterns":[{"include":"#code"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(typ(?:st-code|c))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.typst-code","patterns":[{"include":"#code"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(typ(?:st-code|c))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.typst-code","patterns":[{"include":"#code"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(typ(?:st-code|c))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.typst-code","patterns":[{"include":"#code"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"vb":{"lang":"vb","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.vb","patterns":[{"include":"source.asp.vb.net"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(vb)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(vb)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.vb","patterns":[{"include":"source.asp.vb.net"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(vb)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.vb","patterns":[{"include":"source.asp.vb.net"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(vb)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.vb","patterns":[{"include":"source.asp.vb.net"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(vb)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.vb","patterns":[{"include":"source.asp.vb.net"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"verilog":{"lang":"verilog","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.verilog","patterns":[{"include":"source.verilog"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(v(?:erilog||h))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(v(?:erilog||h))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.verilog","patterns":[{"include":"source.verilog"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(v(?:erilog||h))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.verilog","patterns":[{"include":"source.verilog"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(v(?:erilog||h))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.verilog","patterns":[{"include":"source.verilog"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(v(?:erilog||h))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.verilog","patterns":[{"include":"source.verilog"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"whileClause":{"begin":"(while)\\\\b\\\\s*","beginCaptures":{"1":{"name":"keyword.control.loop.typst"}},"end":"(?<!(?:while|and|not|if|or|in|!=|==|<=|>=|[-*+/<>]|=>?|\\\\+=|-=|\\\\*=|/=)\\\\s*)(?=[\\\\n\\\\[{])|(?=[]\\\\n#$),;}]|$)","patterns":[{"include":"#expression"}]},"whileStatement":{"begin":"(?=(while\\\\b(?!-)))","end":"(?<=[]}])(?![\\\\[{])|(?=[]\\\\n$);}]|$)","name":"meta.expr.while.typst","patterns":[{"include":"#comments"},{"include":"#whileClause"},{"include":"#codeBlock"},{"include":"#contentBlock"}]},"xml":{"lang":"xml","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.xml","patterns":[{"include":"text.xml"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(xml|xsd|tld|jsp|pt|cpt|dtml|rss|opml)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(xml|xsd|tld|jsp|pt|cpt|dtml|rss|opml)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.xml","patterns":[{"include":"text.xml"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(xml|xsd|tld|jsp|pt|cpt|dtml|rss|opml)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.xml","patterns":[{"include":"text.xml"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(xml|xsd|tld|jsp|pt|cpt|dtml|rss|opml)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.xml","patterns":[{"include":"text.xml"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(xml|xsd|tld|jsp|pt|cpt|dtml|rss|opml)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.xml","patterns":[{"include":"text.xml"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"xsl":{"lang":"xsl","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.xsl","patterns":[{"include":"text.xml.xsl"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(xslt??)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(xslt??)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.xsl","patterns":[{"include":"text.xml.xsl"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(xslt??)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.xsl","patterns":[{"include":"text.xml.xsl"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(xslt??)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.xsl","patterns":[{"include":"text.xml.xsl"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(xslt??)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.xsl","patterns":[{"include":"text.xml.xsl"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"yaml":{"lang":"yaml","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.yaml","patterns":[{"include":"source.yaml"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(ya?ml)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(ya?ml)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.yaml","patterns":[{"include":"source.yaml"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(ya?ml)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.yaml","patterns":[{"include":"source.yaml"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(ya?ml)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.yaml","patterns":[{"include":"source.yaml"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(ya?ml)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.yaml","patterns":[{"include":"source.yaml"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]}},"scopeName":"source.typst","embeddedLangs":["bat","bibtex","c","clojure","coffee","cpp","css","csharp","dart","diff","docker","elixir","erlang","fsharp","git-commit","git-rebase","go","groovy","handlebars","html","ini","java","javascript","jsonc","json","julia","latex","less","log","lua","make","markdown","objective-c","perl","raku","php","powershell","pug","r","regexp","ruby","scss","sql","swift","xml","xsl","yaml","python","rust","scala","shellscript","typescript","tsx","twig","verilog","system-verilog","vb"],"aliases":["typ"]}')),ie=[...l,...u,...f,...m,...h,..._,...t,...y,...b,...x,...S,...C,...O,...k,...A,...j,...M,...N,...P,...n,...F,...i,...e,...I,...o,...R,...B,...V,...H,...w,...U,...D,...W,...z,...q,...G,...Z,...Q,...L,...g,...E,...r,...d,...$,...a,...X,...T,...p,...J,...Y,...v,...s,...c,...te,...ne,...ee,...K,re];export{ie as default};
1
+ import{t as e}from"./javascript-U-JBzSDk.js";import{t}from"./css-Y7OW5uKN.js";import{t as n}from"./html-BvwGTXL2.js";import{t as r}from"./scss-D2bGvizF.js";import{t as i}from"./java-mouNBEOT.js";import{t as a}from"./xml-CnVdnzon.js";import{t as o}from"./json-B_LODAI7.js";import{t as s}from"./typescript-DkL9-LA1.js";import{t as c}from"./tsx-Dpl8Dyu3.js";import l from"./bat-qdxAdBWQ.js";import u from"./bibtex-Ci_nEsc7.js";import{t as d}from"./sql-Bg9JbbKb.js";import{t as f}from"./c-3D1Q4Rnv.js";import p from"./python-gzcpVVnB.js";import m from"./clojure-DqKBuwfJ.js";import h from"./coffee-3IUVSrSB.js";import{t as g}from"./regexp-6RZ3RRCf.js";import{t as _}from"./cpp-CN2PLd-1.js";import{t as v}from"./shellscript-dnMGBhYw.js";import y from"./csharp-oqKa8noW.js";import b from"./dart-CnvKMtbv.js";import x from"./diff-woXpYk--.js";import S from"./docker-IyjqRm3v.js";import C from"./elixir-7AwElWAC.js";import{t as w}from"./lua-tuIjH_94.js";import{t as T}from"./yaml-CbhKf1fN.js";import E from"./ruby-B2fIwwQt.js";import D from"./markdown-BYOwaDjH.js";import O from"./erlang-Cphh6RMH.js";import k from"./fsharp-D13ZGOAj.js";import A from"./git-commit-BSykSTBG.js";import j from"./git-rebase-Y999REzC.js";import M from"./go-rLFTqkRN.js";import N from"./groovy-CacY0gHj.js";import P from"./handlebars-BDpXFZR1.js";import F from"./ini-B5eOa1yu.js";import I from"./jsonc-CYpm1nAK.js";import{t as L}from"./r-Cnkx2_Um.js";import R from"./julia-Dco09L8E.js";import z from"./perl-CHndoS_5.js";import B from"./latex-Dccz5tQA.js";import V from"./less-DVTAwKKz.js";import H from"./log-BNLmms1o.js";import U from"./make-Dixweg8N.js";import W from"./objective-c-D1A_Heim.js";import G from"./php-DZCOF2Hm.js";import K from"./vb-DOwzaHZ0.js";import q from"./raku-B3gFvitq.js";import J from"./rust-Cfkwpbl8.js";import Y from"./scala-BiFt_7mu.js";import X from"./xsl-B9rDiHW0.js";import Z from"./powershell-CCSX75yM.js";import Q from"./pug-Bj-uu214.js";import $ from"./swift-CyEgAFGc.js";import ee from"./system-verilog-Dh5ihWbf.js";import te from"./twig-V8RRy40u.js";import ne from"./verilog-B2gwz-sJ.js";var re=Object.freeze(JSON.parse('{"displayName":"Typst","name":"typst","patterns":[{"include":"#shebang"},{"include":"#markup"}],"repository":{"agda":{"lang":"agda","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.agda","patterns":[{"include":"source.agda"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(agda)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(agda)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.agda","patterns":[{"include":"source.agda"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(agda)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.agda","patterns":[{"include":"source.agda"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(agda)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.agda","patterns":[{"include":"source.agda"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(agda)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.agda","patterns":[{"include":"source.agda"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"arrayOrDict":{"patterns":[{"captures":{"1":{"name":"meta.brace.round.typst"},"2":{"name":"meta.brace.round.typst"}},"match":"(\\\\()\\\\s*(\\\\))"},{"captures":{"1":{"name":"meta.brace.round.typst"},"2":{"name":"punctuation.separator.colon.typst"},"3":{"name":"meta.brace.round.typst"}},"match":"(\\\\()\\\\s*(:)\\\\s*(\\\\))"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"meta.brace.round.typst"}},"end":"\\\\)|(?=[];}])","endCaptures":{"0":{"name":"meta.brace.round.typst"}},"patterns":[{"include":"#literalContent"}]}]},"batchfile":{"lang":"batchfile","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.batchfile","patterns":[{"include":"source.batchfile"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(bat(?:chfile||ch))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(bat(?:chfile||ch))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.batchfile","patterns":[{"include":"source.batchfile"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(bat(?:chfile||ch))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.batchfile","patterns":[{"include":"source.batchfile"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(bat(?:chfile||ch))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.batchfile","patterns":[{"include":"source.batchfile"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(bat(?:chfile||ch))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.batchfile","patterns":[{"include":"source.batchfile"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"bibtex":{"lang":"bibtex","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.bibtex","patterns":[{"include":"text.bibtex"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(bibtex)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(bibtex)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.bibtex","patterns":[{"include":"text.bibtex"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(bibtex)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.bibtex","patterns":[{"include":"text.bibtex"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(bibtex)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.bibtex","patterns":[{"include":"text.bibtex"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(bibtex)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.bibtex","patterns":[{"include":"text.bibtex"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"blockComment":{"begin":"/\\\\*","beginCaptures":{"0":{"name":"punctuation.definition.comment.typst"}},"end":"\\\\*/","name":"comment.block.typst","patterns":[{"include":"#blockComment"}]},"blockRaw":{"patterns":[{"include":"#agda"},{"include":"#batchfile"},{"include":"#bibtex"},{"include":"#c"},{"include":"#clojure"},{"include":"#coffee"},{"include":"#cpp"},{"include":"#css"},{"include":"#cs"},{"include":"#dart"},{"include":"#diff"},{"include":"#dockerfile"},{"include":"#elixir"},{"include":"#erlang"},{"include":"#fs"},{"include":"#git-commit"},{"include":"#git-rebase"},{"include":"#go"},{"include":"#groovy"},{"include":"#handlebars"},{"include":"#html"},{"include":"#ini"},{"include":"#java"},{"include":"#js"},{"include":"#jsonc"},{"include":"#json"},{"include":"#julia"},{"include":"#latex"},{"include":"#less"},{"include":"#log"},{"include":"#lua"},{"include":"#makefile"},{"include":"#markdown"},{"include":"#objc"},{"include":"#perl"},{"include":"#perl6"},{"include":"#php"},{"include":"#powershell"},{"include":"#pug"},{"include":"#r"},{"include":"#regexp"},{"include":"#re"},{"include":"#ruby"},{"include":"#scss"},{"include":"#sql"},{"include":"#swift"},{"include":"#typst"},{"include":"#typst-code"},{"include":"#xml"},{"include":"#xsl"},{"include":"#yaml"},{"include":"#python"},{"include":"#rust"},{"include":"#scala"},{"include":"#shell"},{"include":"#ts"},{"include":"#tsx"},{"include":"#twig"},{"include":"#verilog"},{"include":"#systemverilog"},{"include":"#vb"},{"include":"#blockRawGeneral"}]},"blockRawGeneral":{"begin":"(`{3,})([_\\\\p{XIDS}][-_\\\\p{XIDC}]*\\\\b)?","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst"},"c":{"lang":"c","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.c","patterns":[{"include":"source.c"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})([ch])\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})([ch])\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.c","patterns":[{"include":"source.c"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})([ch])\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.c","patterns":[{"include":"source.c"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})([ch])\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.c","patterns":[{"include":"source.c"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})([ch])\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.c","patterns":[{"include":"source.c"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"callArgs":{"begin":"\\\\(","beginCaptures":{"0":{"name":"meta.brace.round.typst"}},"end":"\\\\)|(?=[];}])","endCaptures":{"0":{"name":"meta.brace.round.typst"}},"patterns":[{"include":"#patternOrArgsBody"}]},"clojure":{"lang":"clojure","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.clojure","patterns":[{"include":"source.clojure"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(cl(?:ojure|js??))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(cl(?:ojure|js??))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.clojure","patterns":[{"include":"source.clojure"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(cl(?:ojure|js??))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.clojure","patterns":[{"include":"source.clojure"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(cl(?:ojure|js??))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.clojure","patterns":[{"include":"source.clojure"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(cl(?:ojure|js??))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.clojure","patterns":[{"include":"source.clojure"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"code":{"patterns":[{"include":"#common"},{"include":"#comments"},{"match":";","name":"punctuation.terminator.statement.typst"},{"include":"#expression"}]},"codeBlock":{"begin":"\\\\{","beginCaptures":{"0":{"name":"meta.brace.curly.typst"}},"end":"}","endCaptures":{"0":{"name":"meta.brace.curly.typst"}},"patterns":[{"include":"#code"}]},"codeMath":{"begin":"(?<![])])\\\\$","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.math.typst"}},"end":"\\\\$","endCaptures":{"0":{"name":"punctuation.definition.string.end.math.typst"}},"name":"markup.math.typst","patterns":[{"include":"#math"}]},"coffee":{"lang":"coffee","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.coffee","patterns":[{"include":"source.coffee"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(coffee|Cakefile|coffee\\\\.erb)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(coffee|Cakefile|coffee\\\\.erb)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.coffee","patterns":[{"include":"source.coffee"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(coffee|Cakefile|coffee\\\\.erb)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.coffee","patterns":[{"include":"source.coffee"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(coffee|Cakefile|coffee\\\\.erb)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.coffee","patterns":[{"include":"source.coffee"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(coffee|Cakefile|coffee\\\\.erb)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.coffee","patterns":[{"include":"source.coffee"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"comments":{"patterns":[{"include":"#blockComment"},{"include":"#lineComment"}]},"common":{"patterns":[{"include":"#strictComments"},{"include":"#blockRaw"},{"include":"#inlineRaw"}]},"constants":{"patterns":[{"match":"(?:\\\\d+\\\\.(?!\\\\d)|\\\\d*\\\\.?\\\\d+(?:[Ee][-+]?\\\\d+)?)(?<!\\\\.)(mm|pt|cm|in|em)($|\\\\b)","name":"constant.numeric.length.typst"},{"match":"(?:\\\\d+\\\\.(?!\\\\d)|\\\\d*\\\\.?\\\\d+(?:[Ee][-+]?\\\\d+)?)(?<!\\\\.)(rad|deg)($|\\\\b)","name":"constant.numeric.angle.typst"},{"match":"(?:\\\\d+\\\\.(?!\\\\d)|\\\\d*\\\\.?\\\\d+(?:[Ee][-+]?\\\\d+)?)%","name":"constant.numeric.percentage.typst"},{"match":"(?:\\\\d+\\\\.(?!\\\\d)|\\\\d*\\\\.?\\\\d+(?:[Ee][-+]?\\\\d+)?)(?<!\\\\.)fr","name":"constant.numeric.fr.typst"},{"match":"(?<![])}])(^|(?<=[#\\\\s])|\\\\b)\\\\d+\\\\b(?!\\\\.(?:[^_\\\\p{XIDS}]|$)|[Ee])","name":"constant.numeric.integer.typst"},{"match":"(?<![])}])(^|(?<=[#\\\\s])|\\\\b)0x\\\\h+\\\\b","name":"constant.numeric.hex.typst"},{"match":"(?<![])}])(^|(?<=[#\\\\s])|\\\\b)0o[0-7]+\\\\b","name":"constant.numeric.octal.typst"},{"match":"(?<![])}])(^|(?<=[#\\\\s])|\\\\b)0b[01]+\\\\b","name":"constant.numeric.binary.typst"},{"match":"\\\\d+\\\\.(?!\\\\d)|\\\\d*\\\\.?\\\\d+(?:[Ee][-+]?\\\\d+)?","name":"constant.numeric.float.typst"},{"include":"#stringLiteral"}]},"contentBlock":{"begin":"\\\\[","beginCaptures":{"0":{"name":"meta.brace.square.typst"}},"end":"]","endCaptures":{"0":{"name":"meta.brace.square.typst"}},"patterns":[{"include":"#contentBlock"},{"include":"#markup"}]},"contextStatement":{"begin":"\\\\bcontext\\\\b(?!-)","beginCaptures":{"0":{"name":"keyword.control.other.typst"}},"end":"(?<=[]}])|(?<!\\\\bcontext\\\\s*)(?=[\\\\[{])|(?=[]\\\\n#$);}]|$)","name":"meta.expr.context.typst","patterns":[{"include":"#expression"}]},"cpp":{"lang":"cpp","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.cpp","patterns":[{"include":"source.cpp"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(c(?:pp|\\\\+\\\\+|xx))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(c(?:pp|\\\\+\\\\+|xx))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.cpp","patterns":[{"include":"source.cpp"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(c(?:pp|\\\\+\\\\+|xx))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.cpp","patterns":[{"include":"source.cpp"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(c(?:pp|\\\\+\\\\+|xx))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.cpp","patterns":[{"include":"source.cpp"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(c(?:pp|\\\\+\\\\+|xx))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.cpp","patterns":[{"include":"source.cpp"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"cs":{"lang":"cs","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.cs","patterns":[{"include":"source.cs"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(c(?:s|sharp|#))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(c(?:s|sharp|#))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.cs","patterns":[{"include":"source.cs"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(c(?:s|sharp|#))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.cs","patterns":[{"include":"source.cs"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(c(?:s|sharp|#))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.cs","patterns":[{"include":"source.cs"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(c(?:s|sharp|#))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.cs","patterns":[{"include":"source.cs"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"css":{"lang":"css","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.css","patterns":[{"include":"source.css"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(css(?:|\\\\.erb))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(css(?:|\\\\.erb))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.css","patterns":[{"include":"source.css"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(css(?:|\\\\.erb))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.css","patterns":[{"include":"source.css"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(css(?:|\\\\.erb))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.css","patterns":[{"include":"source.css"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(css(?:|\\\\.erb))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.css","patterns":[{"include":"source.css"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"dart":{"lang":"dart","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.dart","patterns":[{"include":"source.dart"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(dart)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(dart)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.dart","patterns":[{"include":"source.dart"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(dart)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.dart","patterns":[{"include":"source.dart"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(dart)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.dart","patterns":[{"include":"source.dart"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(dart)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.dart","patterns":[{"include":"source.dart"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"diff":{"lang":"diff","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.diff","patterns":[{"include":"source.diff"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(diff|patch|rej)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(diff|patch|rej)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.diff","patterns":[{"include":"source.diff"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(diff|patch|rej)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.diff","patterns":[{"include":"source.diff"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(diff|patch|rej)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.diff","patterns":[{"include":"source.diff"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(diff|patch|rej)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.diff","patterns":[{"include":"source.diff"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"dockerfile":{"lang":"dockerfile","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.dockerfile","patterns":[{"include":"source.dockerfile"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})([Dd]ockerfile)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})([Dd]ockerfile)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.dockerfile","patterns":[{"include":"source.dockerfile"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})([Dd]ockerfile)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.dockerfile","patterns":[{"include":"source.dockerfile"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})([Dd]ockerfile)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.dockerfile","patterns":[{"include":"source.dockerfile"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})([Dd]ockerfile)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.dockerfile","patterns":[{"include":"source.dockerfile"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"elixir":{"lang":"elixir","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.elixir","patterns":[{"include":"source.elixir"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(elixir)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(elixir)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.elixir","patterns":[{"include":"source.elixir"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(elixir)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.elixir","patterns":[{"include":"source.elixir"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(elixir)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.elixir","patterns":[{"include":"source.elixir"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(elixir)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.elixir","patterns":[{"include":"source.elixir"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"elseClause":{"match":"\\\\belse\\\\b(?!-)","name":"keyword.control.conditional.typst"},"erlang":{"lang":"erlang","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.erlang","patterns":[{"include":"source.erlang"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(erlang)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(erlang)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.erlang","patterns":[{"include":"source.erlang"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(erlang)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.erlang","patterns":[{"include":"source.erlang"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(erlang)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.erlang","patterns":[{"include":"source.erlang"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(erlang)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.erlang","patterns":[{"include":"source.erlang"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"expression":{"patterns":[{"include":"#comments"},{"include":"#arrayOrDict"},{"include":"#contentBlock"},{"match":"\\\\b(else)\\\\b(?!-)","name":"keyword.control.conditional.typst"},{"match":"\\\\b(break|continue)\\\\b(?!-)","name":"keyword.control.loop.typst"},{"match":"\\\\b(in)\\\\b(?!-)","name":"keyword.other.range.typst"},{"match":"\\\\b(and|or|not)\\\\b(?!-)","name":"keyword.other.logical.typst"},{"match":"\\\\b(return)\\\\b(?!-)","name":"keyword.control.flow.typst"},{"include":"#markupLabel"},{"include":"#blockRaw"},{"include":"#inlineRaw"},{"include":"#codeBlock"},{"include":"#letStatement"},{"include":"#showStatement"},{"include":"#contextStatement"},{"include":"#setStatement"},{"include":"#forStatement"},{"include":"#whileStatement"},{"include":"#ifStatement"},{"include":"#importStatement"},{"include":"#includeStatement"},{"include":"#strictFuncCallOrPropAccess"},{"include":"#primitiveColors"},{"include":"#primitiveFunctions"},{"include":"#primitiveTypes"},{"include":"#keywordConstants"},{"include":"#identifier"},{"include":"#constants"},{"include":"#codeMath"},{"match":"(as)\\\\b(?!-)","name":"keyword.control.typst"},{"match":"(in)\\\\b(?!-)","name":"keyword.operator.range.typst"},{"match":"\\\\.\\\\.","name":"keyword.operator.spread.typst"},{"match":":","name":"punctuation.separator.colon.typst"},{"match":"\\\\.","name":"keyword.operator.accessor.typst"},{"match":",","name":"punctuation.separator.comma.typst"},{"match":"=>","name":"storage.type.function.arrow.typst"},{"match":"==|!=|<=?|>=?","name":"keyword.operator.relational.typst"},{"begin":"((?:[-*+]|/?)=)","beginCaptures":{"1":{"name":"keyword.operator.assignment.typst"}},"end":"(?=[]\\\\n);}])","patterns":[{"include":"#expression"}]},{"match":"[-*+/\\\\\\\\]","name":"keyword.operator.arithmetic.typst"}]},"forClause":{"begin":"(for)\\\\b\\\\s*","beginCaptures":{"1":{"name":"keyword.control.loop.typst"}},"end":"(?<!(?:while|and|not|if|or|in|!=|==|<=|>=|[-*+/<>]|=>?|\\\\+=|-=|\\\\*=|/=)\\\\s*)(?=[\\\\n\\\\[{])|(?=[]\\\\n#$),;}]|$)","patterns":[{"include":"#expression"}]},"forStatement":{"begin":"(?=(for\\\\b(?!-))\\\\s*)","end":"(?<=[]}])(?![\\\\[{])|(?=[]\\\\n$);}]|$)","name":"meta.expr.for.typst","patterns":[{"include":"#comments"},{"include":"#forClause"},{"include":"#codeBlock"},{"include":"#contentBlock"}]},"fs":{"lang":"fs","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.fs","patterns":[{"include":"source.fsharp"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(f(?:s|sharp|#))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(f(?:s|sharp|#))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.fs","patterns":[{"include":"source.fsharp"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(f(?:s|sharp|#))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.fs","patterns":[{"include":"source.fsharp"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(f(?:s|sharp|#))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.fs","patterns":[{"include":"source.fsharp"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(f(?:s|sharp|#))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.fs","patterns":[{"include":"source.fsharp"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"git-commit":{"lang":"git-commit","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.git-commit","patterns":[{"include":"text.git-commit"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(git-commit|COMMIT_EDITMSG|MERGE_MSG)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(git-commit|COMMIT_EDITMSG|MERGE_MSG)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.git-commit","patterns":[{"include":"text.git-commit"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(git-commit|COMMIT_EDITMSG|MERGE_MSG)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.git-commit","patterns":[{"include":"text.git-commit"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(git-commit|COMMIT_EDITMSG|MERGE_MSG)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.git-commit","patterns":[{"include":"text.git-commit"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(git-commit|COMMIT_EDITMSG|MERGE_MSG)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.git-commit","patterns":[{"include":"text.git-commit"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"git-rebase":{"lang":"git-rebase","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.git-rebase","patterns":[{"include":"text.git-rebase"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(git-rebase(?:|-todo))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(git-rebase(?:|-todo))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.git-rebase","patterns":[{"include":"text.git-rebase"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(git-rebase(?:|-todo))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.git-rebase","patterns":[{"include":"text.git-rebase"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(git-rebase(?:|-todo))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.git-rebase","patterns":[{"include":"text.git-rebase"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(git-rebase(?:|-todo))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.git-rebase","patterns":[{"include":"text.git-rebase"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"go":{"lang":"go","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.go","patterns":[{"include":"source.go"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(go(?:|lang))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(go(?:|lang))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.go","patterns":[{"include":"source.go"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(go(?:|lang))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.go","patterns":[{"include":"source.go"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(go(?:|lang))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.go","patterns":[{"include":"source.go"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(go(?:|lang))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.go","patterns":[{"include":"source.go"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"groovy":{"lang":"groovy","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.groovy","patterns":[{"include":"source.groovy"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(g(?:roovy|vy))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(g(?:roovy|vy))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.groovy","patterns":[{"include":"source.groovy"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(g(?:roovy|vy))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.groovy","patterns":[{"include":"source.groovy"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(g(?:roovy|vy))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.groovy","patterns":[{"include":"source.groovy"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(g(?:roovy|vy))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.groovy","patterns":[{"include":"source.groovy"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"handlebars":{"lang":"handlebars","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.handlebars","patterns":[{"include":"text.html.handlebars"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(h(?:andlebars|bs))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(h(?:andlebars|bs))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.handlebars","patterns":[{"include":"text.html.handlebars"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(h(?:andlebars|bs))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.handlebars","patterns":[{"include":"text.html.handlebars"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(h(?:andlebars|bs))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.handlebars","patterns":[{"include":"text.html.handlebars"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(h(?:andlebars|bs))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.handlebars","patterns":[{"include":"text.html.handlebars"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"html":{"lang":"html","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.html","patterns":[{"include":"text.html.basic"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(html?|shtml|xhtml|inc|tmpl|tpl)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(html?|shtml|xhtml|inc|tmpl|tpl)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.html","patterns":[{"include":"text.html.basic"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(html?|shtml|xhtml|inc|tmpl|tpl)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.html","patterns":[{"include":"text.html.basic"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(html?|shtml|xhtml|inc|tmpl|tpl)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.html","patterns":[{"include":"text.html.basic"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(html?|shtml|xhtml|inc|tmpl|tpl)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.html","patterns":[{"include":"text.html.basic"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"identifier":{"match":"(?<![])}])\\\\b[_\\\\p{XIDS}][-_\\\\p{XIDC}]*","name":"variable.other.readwrite.typst"},"ifClause":{"begin":"\\\\bif\\\\b(?!-)","beginCaptures":{"0":{"name":"keyword.control.conditional.typst"}},"end":"(?<!(?:while|and|not|if|or|in|!=|==|<=|>=|[-*+/<>]|=>?|\\\\+=|-=|\\\\*=|/=)\\\\s*)(?=[\\\\n\\\\[{])|(?=[]\\\\n#$),;}]|$)","patterns":[{"include":"#expression"}]},"ifStatement":{"begin":"(?=(else\\\\s+)?(if\\\\b(?!-)))","end":"(?<=[]}])(?!\\\\s*(else)\\\\b(?!-)|[\\\\[{])|(?<=else)(?!\\\\s*(?:if\\\\b(?!-)|[\\\\[{]))|(?=[]\\\\n$);}]|$)","name":"meta.expr.if.typst","patterns":[{"include":"#comments"},{"include":"#ifClause"},{"include":"#elseClause"},{"include":"#codeBlock"},{"include":"#contentBlock"}]},"importAsClause":{"begin":"\\\\b(as)\\\\b\\\\s*","beginCaptures":{"1":{"name":"keyword.control.import.typst"}},"end":"(?=[]):;}\\\\s])","patterns":[{"include":"#comments"},{"include":"#identifier"}]},"importPathClause":{"begin":"\\\\b(import\\\\b(?!-))\\\\s*","beginCaptures":{"1":{"name":"keyword.control.import.typst"}},"end":"(?=:|as)","patterns":[{"include":"#comments"},{"include":"#expression"}]},"importStatement":{"begin":"\\\\b(import\\\\b(?!-))\\\\s*","beginCaptures":{"1":{"name":"keyword.control.import.typst"}},"end":"(?=[]\\\\n);}])","name":"meta.expr.import.typst","patterns":[{"include":"#comments"},{"include":"#importPathClause"},{"match":":","name":"punctuation.separator.colon.typst"},{"match":"\\\\*","name":"keyword.operator.wildcard.typst"},{"match":",","name":"punctuation.separator.comma.typst"},{"include":"#importAsClause"},{"include":"#expression"}]},"includeStatement":{"begin":"\\\\b(include\\\\b(?!-))\\\\s*","beginCaptures":{"1":{"name":"keyword.control.import.typst"}},"end":"(?=[]\\\\n);}])","name":"meta.expr.include.typst","patterns":[{"include":"#comments"},{"include":"#expression"}]},"ini":{"lang":"ini","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.ini","patterns":[{"include":"source.ini"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(ini|conf)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(ini|conf)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.ini","patterns":[{"include":"source.ini"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(ini|conf)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.ini","patterns":[{"include":"source.ini"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(ini|conf)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.ini","patterns":[{"include":"source.ini"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(ini|conf)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.ini","patterns":[{"include":"source.ini"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"inlineRaw":{"begin":"`","beginCaptures":{"0":{"name":"punctuation.definition.raw.inline.typst"}},"end":"`","endCaptures":{"0":{"name":"punctuation.definition.raw.inline.typst"}},"name":"markup.raw.inline.typst string.other.raw.typst"},"java":{"lang":"java","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.java","patterns":[{"include":"source.java"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(java|bsh)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(java|bsh)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.java","patterns":[{"include":"source.java"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(java|bsh)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.java","patterns":[{"include":"source.java"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(java|bsh)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.java","patterns":[{"include":"source.java"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(java|bsh)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.java","patterns":[{"include":"source.java"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"js":{"lang":"js","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.js","patterns":[{"include":"source.js"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(jsx??|javascript|es6|mjs|cjs|dataviewjs)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(jsx??|javascript|es6|mjs|cjs|dataviewjs)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.js","patterns":[{"include":"source.js"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(jsx??|javascript|es6|mjs|cjs|dataviewjs)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.js","patterns":[{"include":"source.js"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(jsx??|javascript|es6|mjs|cjs|dataviewjs)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.js","patterns":[{"include":"source.js"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(jsx??|javascript|es6|mjs|cjs|dataviewjs)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.js","patterns":[{"include":"source.js"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"json":{"lang":"json","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.json","patterns":[{"include":"source.json"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(json5??|sublime-settings|sublime-menu|sublime-keymap|sublime-mousemap|sublime-theme|sublime-build|sublime-project|sublime-completions)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(json5??|sublime-settings|sublime-menu|sublime-keymap|sublime-mousemap|sublime-theme|sublime-build|sublime-project|sublime-completions)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.json","patterns":[{"include":"source.json"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(json5??|sublime-settings|sublime-menu|sublime-keymap|sublime-mousemap|sublime-theme|sublime-build|sublime-project|sublime-completions)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.json","patterns":[{"include":"source.json"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(json5??|sublime-settings|sublime-menu|sublime-keymap|sublime-mousemap|sublime-theme|sublime-build|sublime-project|sublime-completions)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.json","patterns":[{"include":"source.json"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(json5??|sublime-settings|sublime-menu|sublime-keymap|sublime-mousemap|sublime-theme|sublime-build|sublime-project|sublime-completions)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.json","patterns":[{"include":"source.json"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"jsonc":{"lang":"jsonc","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.jsonc","patterns":[{"include":"source.json.comments"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(jsonc)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(jsonc)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.jsonc","patterns":[{"include":"source.json.comments"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(jsonc)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.jsonc","patterns":[{"include":"source.json.comments"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(jsonc)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.jsonc","patterns":[{"include":"source.json.comments"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(jsonc)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.jsonc","patterns":[{"include":"source.json.comments"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"julia":{"lang":"julia","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.julia","patterns":[{"include":"source.julia"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(julia)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(julia)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.julia","patterns":[{"include":"source.julia"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(julia)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.julia","patterns":[{"include":"source.julia"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(julia)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.julia","patterns":[{"include":"source.julia"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(julia)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.julia","patterns":[{"include":"source.julia"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"keywordConstants":{"patterns":[{"match":"(?<![])}])\\\\bnone\\\\b(?!-)","name":"keyword.other.none.typst"},{"match":"(?<![])}])\\\\bauto\\\\b(?!-)","name":"keyword.other.auto.typst"},{"match":"(?<![])}])\\\\b(false|true)\\\\b(?!-)","name":"constant.language.boolean.typst"}]},"latex":{"lang":"latex","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.latex","patterns":[{"include":"text.tex.latex"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})((?:la|)tex)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})((?:la|)tex)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.latex","patterns":[{"include":"text.tex.latex"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})((?:la|)tex)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.latex","patterns":[{"include":"text.tex.latex"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})((?:la|)tex)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.latex","patterns":[{"include":"text.tex.latex"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})((?:la|)tex)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.latex","patterns":[{"include":"text.tex.latex"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"less":{"lang":"less","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.less","patterns":[{"include":"source.css.less"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(less)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(less)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.less","patterns":[{"include":"source.css.less"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(less)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.less","patterns":[{"include":"source.css.less"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(less)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.less","patterns":[{"include":"source.css.less"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(less)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.less","patterns":[{"include":"source.css.less"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"letBindingClause":{"begin":"(let\\\\b(?!-))\\\\s*","beginCaptures":{"1":{"name":"storage.type.typst"}},"end":"(?=[]\\\\n;=}])","patterns":[{"include":"#comments"},{"begin":"\\\\b([_\\\\p{XIDS}][-_\\\\p{XIDC}]*)(\\\\()","beginCaptures":{"1":{"name":"entity.name.function.typst","patterns":[{"include":"#primitiveFunctions"}]},"2":{"name":"meta.brace.round.typst"}},"end":"\\\\)|(?=[];}])","endCaptures":{"0":{"name":"meta.brace.round.typst"}},"patterns":[{"include":"#patternOrArgsBody"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"meta.brace.round.typst"}},"end":"\\\\)|(?=[];}])","endCaptures":{"0":{"name":"meta.brace.round.typst"}},"patterns":[{"include":"#patternOrArgsBody"}]},{"include":"#identifier"}]},"letInitClause":{"begin":"=\\\\s*","beginCaptures":{"0":{"name":"keyword.operator.assignment.typst"}},"end":"(?=[]\\\\n);}])","patterns":[{"include":"#comments"},{"include":"#expression"}]},"letStatement":{"begin":"(?=(let\\\\b(?!-)))","end":"(?!=)(?=[]);}\\\\s])","name":"meta.expr.let.typst","patterns":[{"include":"#comments"},{"include":"#letBindingClause"},{"include":"#letInitClause"}]},"lineComment":{"begin":"//","beginCaptures":{"0":{"name":"punctuation.definition.comment.typst"}},"end":"(?=$|\\\\n)","name":"comment.line.double-slash.typst"},"literalContent":{"patterns":[{"include":"#paramOrArgName"},{"include":"#expression"}]},"log":{"lang":"log","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.log","patterns":[{"include":"text.log"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(log)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(log)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.log","patterns":[{"include":"text.log"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(log)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.log","patterns":[{"include":"text.log"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(log)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.log","patterns":[{"include":"text.log"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(log)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.log","patterns":[{"include":"text.log"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"lua":{"lang":"lua","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.lua","patterns":[{"include":"source.lua"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(lua)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(lua)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.lua","patterns":[{"include":"source.lua"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(lua)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.lua","patterns":[{"include":"source.lua"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(lua)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.lua","patterns":[{"include":"source.lua"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(lua)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.lua","patterns":[{"include":"source.lua"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"makefile":{"lang":"makefile","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.makefile","patterns":[{"include":"source.makefile"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})((?:m|GNUm|OCamlM)akefile)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})((?:m|GNUm|OCamlM)akefile)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.makefile","patterns":[{"include":"source.makefile"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})((?:m|GNUm|OCamlM)akefile)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.makefile","patterns":[{"include":"source.makefile"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})((?:m|GNUm|OCamlM)akefile)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.makefile","patterns":[{"include":"source.makefile"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})((?:m|GNUm|OCamlM)akefile)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.makefile","patterns":[{"include":"source.makefile"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"markdown":{"lang":"markdown","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.markdown","patterns":[{"include":"text.html.markdown"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(m(?:arkdown|d))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(m(?:arkdown|d))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.markdown","patterns":[{"include":"text.html.markdown"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(m(?:arkdown|d))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.markdown","patterns":[{"include":"text.html.markdown"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(m(?:arkdown|d))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.markdown","patterns":[{"include":"text.html.markdown"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(m(?:arkdown|d))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.markdown","patterns":[{"include":"text.html.markdown"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"markup":{"patterns":[{"include":"#common"},{"include":"#markupEnterCode"},{"include":"#markupEscape"},{"match":"\\\\\\\\","name":"punctuation.definition.linebreak.typst"},{"match":"~","name":"punctuation.definition.nonbreaking-space.typst"},{"match":"-\\\\?","name":"punctuation.definition.shy.typst"},{"match":"---","name":"punctuation.definition.em-dash.typst"},{"match":"--","name":"punctuation.definition.en-dash.typst"},{"match":"\\\\.\\\\.\\\\.","name":"punctuation.definition.ellipsis.typst"},{"include":"#markupLink"},{"include":"#markupMath"},{"include":"#markupHeading"},{"match":"^\\\\s*-\\\\s+","name":"punctuation.definition.list.unnumbered.typst"},{"match":"^\\\\s*([0-9]+\\\\.|\\\\+)\\\\s+","name":"punctuation.definition.list.numbered.typst"},{"include":"#markupLabel"},{"include":"#markupReference"},{"include":"#markupBrace"}]},"markupBold":{"begin":"(^\\\\*|\\\\*$|((?<=[\\\\W\\\\p{Han}\\\\p{Hangul}\\\\p{Katakana}\\\\p{Hiragana}])\\\\*)|(\\\\*(?=[\\\\W\\\\p{Han}\\\\p{Hangul}\\\\p{Katakana}\\\\p{Hiragana}])))","beginCaptures":{"0":{"name":"punctuation.definition.bold.typst"}},"end":"(^\\\\*|\\\\*$|((?<=[\\\\W\\\\p{Han}\\\\p{Hangul}\\\\p{Katakana}\\\\p{Hiragana}])\\\\*)|(\\\\*(?=[\\\\W\\\\p{Han}\\\\p{Hangul}\\\\p{Katakana}\\\\p{Hiragana}])))|\\\\n|(?=])","endCaptures":{"0":{"name":"punctuation.definition.bold.typst"}},"name":"markup.bold.typst","patterns":[{"include":"#markup"}]},"markupBrace":{"match":"[]()\\\\[{}]","name":"markup.content.brace.typst"},"markupEnterCode":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.hash.typst"}},"match":"(#)\\\\s"},{"captures":{"1":{"name":"punctuation.definition.hash.typst"},"2":{"name":"punctuation.terminator.statement.typst"}},"match":"(#)(;)"},{"begin":"#(?=(?:break|continue|and|or|not|return|as|in|include|import|let|else|if|for|while|context|set|show)\\\\b(?!-))","beginCaptures":{"0":{"name":"keyword.control.hash.typst"}},"end":"(?<=;)|(?<=[])}])(?![$(;\\\\[]|\\\\.(?<![])}])\\\\b[_\\\\p{XIDS}][-_\\\\p{XIDC}]*(?=[(\\\\[]))|(?<!#)(?=[\\"\\\\\\\\_{])|(?<![]#}])(?=\\\\[)|(?=\\\\.(?:[^0-9_\\\\p{XIDS}]|$))|(?=[]#$)-\\\\-/=}\\\\s]|$)|(;)","endCaptures":{"1":{"name":"punctuation.terminator.statement.typst"}},"patterns":[{"include":"#expression"}]},{"begin":"#(?=(?:any|str|int|float|bool|type|length|content|array|dictionary|arguments)\\\\b(?!-))","beginCaptures":{"0":{"name":"entity.name.type.primitive.hash.typst"}},"end":"(?<=;)|(?<=[])}])(?![$(;\\\\[]|\\\\.(?<![])}])\\\\b[_\\\\p{XIDS}][-_\\\\p{XIDC}]*(?=[(\\\\[]))|(?<!#)(?=[\\"\\\\\\\\_{])|(?<![]#}])(?=\\\\[)|(?=\\\\.(?:[^0-9_\\\\p{XIDS}]|$))|(?=[]#$)-\\\\-/=}\\\\s]|$)|(;)","endCaptures":{"1":{"name":"punctuation.terminator.statement.typst"}},"patterns":[{"include":"#expression"}]},{"begin":"#(?=none\\\\b(?!-))","beginCaptures":{"0":{"name":"keyword.other.none.hash.typst"}},"end":"(?<=;)|(?<=[])}])(?![$(;\\\\[]|\\\\.(?<![])}])\\\\b[_\\\\p{XIDS}][-_\\\\p{XIDC}]*(?=[(\\\\[]))|(?<!#)(?=[\\"\\\\\\\\_{])|(?<![]#}])(?=\\\\[)|(?=\\\\.(?:[^0-9_\\\\p{XIDS}]|$))|(?=[]#$)-\\\\-/=}\\\\s]|$)|(;)","endCaptures":{"1":{"name":"punctuation.terminator.statement.typst"}},"patterns":[{"include":"#expression"}]},{"begin":"#(?=(?:false|true)\\\\b(?!-))","beginCaptures":{"0":{"name":"constant.language.boolean.hash.typst"}},"end":"(?<=;)|(?<=[])}])(?![$(;\\\\[]|\\\\.(?<![])}])\\\\b[_\\\\p{XIDS}][-_\\\\p{XIDC}]*(?=[(\\\\[]))|(?<!#)(?=[\\"\\\\\\\\_{])|(?<![]#}])(?=\\\\[)|(?=\\\\.(?:[^0-9_\\\\p{XIDS}]|$))|(?=[]#$)-\\\\-/=}\\\\s]|$)|(;)","endCaptures":{"1":{"name":"punctuation.terminator.statement.typst"}},"patterns":[{"include":"#expression"}]},{"begin":"#(?=[_\\\\p{XIDS}][-_\\\\p{XIDC}]*[(\\\\[])","beginCaptures":{"0":{"name":"entity.name.function.hash.typst"}},"end":"(?<=;)|(?<=[])}])(?![$(;\\\\[]|\\\\.(?<![])}])\\\\b[_\\\\p{XIDS}][-_\\\\p{XIDC}]*(?=[(\\\\[]))|(?<!#)(?=[\\"\\\\\\\\_{])|(?<![]#}])(?=\\\\[)|(?=\\\\.(?:[^0-9_\\\\p{XIDS}]|$))|(?=[]#$)-\\\\-/=}\\\\s]|$)|(;)","endCaptures":{"1":{"name":"punctuation.terminator.statement.typst"}},"patterns":[{"include":"#expression"}]},{"begin":"#(?=[_\\\\p{XIDS}])","beginCaptures":{"0":{"name":"variable.other.readwrite.hash.typst"}},"end":"(?<=;)|(?<=[])}])(?![$(;\\\\[]|\\\\.(?<![])}])\\\\b[_\\\\p{XIDS}][-_\\\\p{XIDC}]*(?=[(\\\\[]))|(?<!#)(?=[\\"\\\\\\\\_{])|(?<![]#}])(?=\\\\[)|(?=\\\\.(?:[^0-9_\\\\p{XIDS}]|$))|(?=[]#$)-\\\\-/=}\\\\s]|$)|(;)","endCaptures":{"1":{"name":"punctuation.terminator.statement.typst"}},"patterns":[{"include":"#expression"}]},{"begin":"#(?=\\")","beginCaptures":{"0":{"name":"string.hash.hash.typst"}},"end":"(?<=;)|(?<=[])}])(?![$(;\\\\[]|\\\\.(?<![])}])\\\\b[_\\\\p{XIDS}][-_\\\\p{XIDC}]*(?=[(\\\\[]))|(?<!#)(?=[\\"\\\\\\\\_{])|(?<![]#}])(?=\\\\[)|(?=\\\\.(?:[^0-9_\\\\p{XIDS}]|$))|(?=[]#$)-\\\\-/=}\\\\s]|$)|(;)","endCaptures":{"1":{"name":"punctuation.terminator.statement.typst"}},"patterns":[{"include":"#expression"}]},{"begin":"#(?=\\\\.??\\\\d)","beginCaptures":{"0":{"name":"constant.numeric.hash.typst"}},"end":"(?<=;)|(?<=[])}])(?![$(;\\\\[]|\\\\.(?<![])}])\\\\b[_\\\\p{XIDS}][-_\\\\p{XIDC}]*(?=[(\\\\[]))|(?<!#)(?=[\\"\\\\\\\\_{])|(?<![]#}])(?=\\\\[)|(?=\\\\.(?:[^0-9_\\\\p{XIDS}]|$))|(?=[]#$)-\\\\-/=}\\\\s]|$)|(;)","endCaptures":{"1":{"name":"punctuation.terminator.statement.typst"}},"patterns":[{"include":"#expression"}]},{"begin":"#","beginCaptures":{"0":{"name":"keyword.control.hash.typst"}},"end":"(?<=;)|(?<=[])}])(?![$(;\\\\[]|\\\\.(?<![])}])\\\\b[_\\\\p{XIDS}][-_\\\\p{XIDC}]*(?=[(\\\\[]))|(?<!#)(?=[\\"\\\\\\\\_{])|(?<![]#}])(?=\\\\[)|(?=\\\\.(?:[^0-9_\\\\p{XIDS}]|$))|(?=[]#$)-\\\\-/=}\\\\s]|$)|(;)","endCaptures":{"1":{"name":"punctuation.terminator.statement.typst"}},"patterns":[{"include":"#expression"}]}]},"markupEscape":{"match":"\\\\\\\\(?:[^u]|u\\\\{?[0-9A-Za-z]*}?)","name":"constant.character.escape.content.typst"},"markupHeading":{"begin":"^\\\\s*(=+)(?:(?=[\\\\n\\\\r]|$)|[^\\\\n\\\\S]+)","beginCaptures":{"1":{"name":"punctuation.definition.heading.typst"}},"end":"\\\\n|(?=<)","name":"markup.heading.typst","patterns":[{"include":"#markup"}]},"markupItalic":{"begin":"(^_|_$|((?<=[\\\\W\\\\p{Han}\\\\p{Hangul}\\\\p{Katakana}\\\\p{Hiragana}])_)|(_(?=[\\\\W\\\\p{Han}\\\\p{Hangul}\\\\p{Katakana}\\\\p{Hiragana}])))","beginCaptures":{"0":{"name":"punctuation.definition.italic.typst"}},"end":"(^_|_$|((?<=[\\\\W\\\\p{Han}\\\\p{Hangul}\\\\p{Katakana}\\\\p{Hiragana}])_)|(_(?=[\\\\W\\\\p{Han}\\\\p{Hangul}\\\\p{Katakana}\\\\p{Hiragana}])))|\\\\n|(?=])","endCaptures":{"0":{"name":"punctuation.definition.italic.typst"}},"name":"markup.italic.typst","patterns":[{"include":"#markup"}]},"markupLabel":{"match":"<[_\\\\p{XIDS}][-.:_\\\\p{XIDC}]*>","name":"string.other.label.typst"},"markupLink":{"begin":"https?://","end":"(?=[])\\\\s]|(?=[!\',.:;?](?:[])\\\\s]|$)))","name":"markup.underline.link.typst","patterns":[{"include":"#markupLinkParen"},{"include":"#markupLinkBracket"},{"match":"(^|\\\\G)(?:[-#-\\\\&*+/-9=@-Z_a-z~]+|[!\',.:;?]+(?![])\\\\s]|$))"}]},"markupLinkBracket":{"begin":"\\\\[","end":"]|(?=[)\\\\s])","patterns":[{"include":"#markupLink"}]},"markupLinkParen":{"begin":"\\\\(","end":"\\\\)|(?=[]\\\\s])","patterns":[{"include":"#markupLink"}]},"markupMath":{"begin":"\\\\$","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.math.typst"}},"end":"\\\\$","endCaptures":{"0":{"name":"punctuation.definition.string.end.math.typst"}},"name":"markup.math.typst","patterns":[{"include":"#math"}]},"markupReference":{"captures":{"1":{"name":"punctuation.definition.reference.typst"}},"match":"(@)[_\\\\p{XIDS}](?:[-_\\\\p{XIDC}]|[.:](?!:\\\\s|$|([.:]*[^-.:_\\\\p{XIDC}])))*","name":"string.other.reference.typst"},"math":{"patterns":[{"include":"#markupEscape"},{"include":"#stringLiteral"},{"include":"#markupEnterCode"},{"begin":"([/^_√∛∜])\\\\s*([(\\\\[{⌈⌊⌜⌞❲⟦⟨⟪⟬⟮⦃⦅⦇⦉⦋⦍⦏⦑⦓⦕⦗⧘⧚⧼])","beginCaptures":{"1":{"name":"punctuation.math.operator.typst"},"2":{"name":"constant.other.symbol.typst"}},"end":"([])}⌉⌋⌝⌟❳⟧⟩⟫⟭⟯⦄⦆⦈⦊⦌⦎⦐⦒⦔⦖⦘⧙⧛⧽])|(?=\\\\$)|$","endCaptures":{"0":{"name":"constant.other.symbol.typst"}},"patterns":[{"include":"#mathParen"},{"include":"#math"}]},{"match":"[\\\\&\'/^_√∛∜]","name":"punctuation.math.operator.typst"},{"include":"#strictMathFuncCallOrPropAccess"},{"include":"#mathPrimary"},{"include":"#mathMoreBrace"}]},"mathBrace":{"match":"[{}]","name":"markup.content.brace.typst"},"mathCallArgs":{"begin":"\\\\(","beginCaptures":{"0":{"name":"meta.brace.round.typst"}},"end":"\\\\)|(?=\\\\$)","endCaptures":{"0":{"name":"meta.brace.round.typst"}},"patterns":[{"include":"#comments"},{"include":"#mathParen"},{"match":",","name":"punctuation.separator.comma.typst"},{"include":"#math"}]},"mathIdentifier":{"match":"(?:(?<=_)|\\\\b)(?!_)\\\\p{XIDS}(?:(?!_)\\\\p{XIDC})+","name":"variable.other.readwrite.typst"},"mathMoreBrace":{"match":"[]()\\\\[{}]","name":"markup.content.brace.typst"},"mathParen":{"begin":"[(\\\\[{⌈⌊⌜⌞❲⟦⟨⟪⟬⟮⦃⦅⦇⦉⦋⦍⦏⦑⦓⦕⦗⧘⧚⧼]","beginCaptures":{"0":{"name":"markup.content.brace.typst"}},"end":"([])}⌉⌋⌝⌟❳⟧⟩⟫⟭⟯⦄⦆⦈⦊⦌⦎⦐⦒⦔⦖⦘⧙⧛⧽])|(?=\\\\$)|$","endCaptures":{"0":{"name":"markup.content.brace.typst"}},"patterns":[{"include":"#mathParen"},{"include":"#math"}]},"mathPrimary":{"begin":"(?:(?<=_)|\\\\b)(?!_)\\\\p{XIDS}(?:(?!_)\\\\p{XIDC})+","beginCaptures":{"0":{"name":"variable.other.readwrite.typst"}},"end":"(?!\\\\(|\\\\.\\\\p{XIDS})|(?=\\\\$)","patterns":[{"include":"#strictMathFuncCallOrPropAccess"},{"captures":{"1":{"name":"keyword.operator.accessor.typst"},"2":{"name":"variable.other.readwrite.typst"}},"match":"(\\\\.)((?!_)\\\\p{XIDS}(?:(?!_)\\\\p{XIDC})*)"},{"include":"#mathCallArgs"},{"include":"#mathIdentifier"}]},"objc":{"lang":"objc","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.objc","patterns":[{"include":"source.objc"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(objc|objective-c|mm|obj-c|m)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(objc|objective-c|mm|obj-c|m)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.objc","patterns":[{"include":"source.objc"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(objc|objective-c|mm|obj-c|m)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.objc","patterns":[{"include":"source.objc"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(objc|objective-c|mm|obj-c|m)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.objc","patterns":[{"include":"source.objc"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(objc|objective-c|mm|obj-c|m)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.objc","patterns":[{"include":"source.objc"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"paramOrArgName":{"captures":{"2":{"name":"variable.other.readwrite.typst"},"3":{"name":"punctuation.separator.colon.typst"}},"match":"(?!(show|import|include)\\\\s*:)((?<![])}])\\\\b[_\\\\p{XIDS}][-_\\\\p{XIDC}]*)\\\\s*(:)"},"patternOrArgsBody":{"patterns":[{"include":"#comments"},{"include":"#paramOrArgName"},{"include":"#expression"}]},"perl":{"lang":"perl","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.perl","patterns":[{"include":"source.perl"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(perl|pl|pm|pod|t|PL|psgi|vcl)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(perl|pl|pm|pod|t|PL|psgi|vcl)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.perl","patterns":[{"include":"source.perl"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(perl|pl|pm|pod|t|PL|psgi|vcl)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.perl","patterns":[{"include":"source.perl"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(perl|pl|pm|pod|t|PL|psgi|vcl)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.perl","patterns":[{"include":"source.perl"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(perl|pl|pm|pod|t|PL|psgi|vcl)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.perl","patterns":[{"include":"source.perl"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"perl6":{"lang":"perl6","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.perl6","patterns":[{"include":"source.perl.6"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(perl6|p6|pl6|pm6|nqp)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(perl6|p6|pl6|pm6|nqp)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.perl6","patterns":[{"include":"source.perl.6"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(perl6|p6|pl6|pm6|nqp)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.perl6","patterns":[{"include":"source.perl.6"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(perl6|p6|pl6|pm6|nqp)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.perl6","patterns":[{"include":"source.perl.6"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(perl6|p6|pl6|pm6|nqp)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.perl6","patterns":[{"include":"source.perl.6"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"php":{"lang":"php","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.php","patterns":[{"include":"text.html.basic"},{"include":"source.php"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(php3??|php4|php5|phtml|aw|ctp)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(php3??|php4|php5|phtml|aw|ctp)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.php","patterns":[{"include":"text.html.basic"},{"include":"source.php"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(php3??|php4|php5|phtml|aw|ctp)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.php","patterns":[{"include":"text.html.basic"},{"include":"source.php"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(php3??|php4|php5|phtml|aw|ctp)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.php","patterns":[{"include":"text.html.basic"},{"include":"source.php"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(php3??|php4|php5|phtml|aw|ctp)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.php","patterns":[{"include":"text.html.basic"},{"include":"source.php"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"powershell":{"lang":"powershell","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.powershell","patterns":[{"include":"source.powershell"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(p(?:owershell|s1|sm1|sd1))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(p(?:owershell|s1|sm1|sd1))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.powershell","patterns":[{"include":"source.powershell"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(p(?:owershell|s1|sm1|sd1))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.powershell","patterns":[{"include":"source.powershell"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(p(?:owershell|s1|sm1|sd1))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.powershell","patterns":[{"include":"source.powershell"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(p(?:owershell|s1|sm1|sd1))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.powershell","patterns":[{"include":"source.powershell"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"primitiveColors":{"match":"\\\\b(red|blue|green|black|white|gray|silver|eastern|navy|aqua|teal|purple|fuchsia|maroon|orange|yellow|olive|lime|ltr|rtl|ttb|btt|start|left|center|right|end|top|horizon|bottom)\\\\b(?!-)","name":"variable.other.constant.builtin.typst"},"primitiveFunctions":{"match":"\\\\b(?:luma|oklab|oklch|rgb|cmyk|range)\\\\b(?!-)","name":"support.function.builtin.typst"},"primitiveTypes":{"match":"\\\\b(any|str|int|float|bool|type|length|content|array|dictionary|arguments)\\\\b(?!-)","name":"entity.name.type.primitive.typst"},"pug":{"lang":"pug","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.pug","patterns":[{"include":"text.pug"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(pug|jade)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(pug|jade)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.pug","patterns":[{"include":"text.pug"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(pug|jade)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.pug","patterns":[{"include":"text.pug"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(pug|jade)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.pug","patterns":[{"include":"text.pug"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(pug|jade)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.pug","patterns":[{"include":"text.pug"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"python":{"lang":"python","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.python","patterns":[{"include":"source.python"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(python|py3??|rpy|pyw|cpy|SConstruct|Sconstruct|sconstruct|SConscript|gypi??)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(python|py3??|rpy|pyw|cpy|SConstruct|Sconstruct|sconstruct|SConscript|gypi??)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.python","patterns":[{"include":"source.python"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(python|py3??|rpy|pyw|cpy|SConstruct|Sconstruct|sconstruct|SConscript|gypi??)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.python","patterns":[{"include":"source.python"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(python|py3??|rpy|pyw|cpy|SConstruct|Sconstruct|sconstruct|SConscript|gypi??)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.python","patterns":[{"include":"source.python"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(python|py3??|rpy|pyw|cpy|SConstruct|Sconstruct|sconstruct|SConscript|gypi??)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.python","patterns":[{"include":"source.python"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"r":{"lang":"r","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.r","patterns":[{"include":"source.r"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})([RSrs]|Rprofile)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})([RSrs]|Rprofile)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.r","patterns":[{"include":"source.r"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})([RSrs]|Rprofile)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.r","patterns":[{"include":"source.r"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})([RSrs]|Rprofile)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.r","patterns":[{"include":"source.r"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})([RSrs]|Rprofile)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.r","patterns":[{"include":"source.r"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"re":{"lang":"re","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.re","patterns":[{"include":"source.regexp.python"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(re)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(re)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.re","patterns":[{"include":"source.regexp.python"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(re)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.re","patterns":[{"include":"source.regexp.python"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(re)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.re","patterns":[{"include":"source.regexp.python"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(re)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.re","patterns":[{"include":"source.regexp.python"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"regexp":{"lang":"regexp","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.regexp","patterns":[{"include":"source.js.regexp"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(regexp)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(regexp)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.regexp","patterns":[{"include":"source.js.regexp"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(regexp)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.regexp","patterns":[{"include":"source.js.regexp"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(regexp)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.regexp","patterns":[{"include":"source.js.regexp"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(regexp)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.regexp","patterns":[{"include":"source.js.regexp"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"ruby":{"lang":"ruby","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.ruby","patterns":[{"include":"source.ruby"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(ruby|rbx??|rjs|Rakefile|rake|cgi|fcgi|gemspec|irbrc|Capfile|ru|prawn|Cheffile|Gemfile|Guardfile|Hobofile|Vagrantfile|Appraisals|Rantfile|Berksfile|Berksfile\\\\.lock|Thorfile|Puppetfile)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(ruby|rbx??|rjs|Rakefile|rake|cgi|fcgi|gemspec|irbrc|Capfile|ru|prawn|Cheffile|Gemfile|Guardfile|Hobofile|Vagrantfile|Appraisals|Rantfile|Berksfile|Berksfile\\\\.lock|Thorfile|Puppetfile)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.ruby","patterns":[{"include":"source.ruby"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(ruby|rbx??|rjs|Rakefile|rake|cgi|fcgi|gemspec|irbrc|Capfile|ru|prawn|Cheffile|Gemfile|Guardfile|Hobofile|Vagrantfile|Appraisals|Rantfile|Berksfile|Berksfile\\\\.lock|Thorfile|Puppetfile)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.ruby","patterns":[{"include":"source.ruby"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(ruby|rbx??|rjs|Rakefile|rake|cgi|fcgi|gemspec|irbrc|Capfile|ru|prawn|Cheffile|Gemfile|Guardfile|Hobofile|Vagrantfile|Appraisals|Rantfile|Berksfile|Berksfile\\\\.lock|Thorfile|Puppetfile)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.ruby","patterns":[{"include":"source.ruby"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(ruby|rbx??|rjs|Rakefile|rake|cgi|fcgi|gemspec|irbrc|Capfile|ru|prawn|Cheffile|Gemfile|Guardfile|Hobofile|Vagrantfile|Appraisals|Rantfile|Berksfile|Berksfile\\\\.lock|Thorfile|Puppetfile)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.ruby","patterns":[{"include":"source.ruby"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"rust":{"lang":"rust","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.rust","patterns":[{"include":"source.rust"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(r(?:ust|s))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(r(?:ust|s))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.rust","patterns":[{"include":"source.rust"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(r(?:ust|s))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.rust","patterns":[{"include":"source.rust"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(r(?:ust|s))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.rust","patterns":[{"include":"source.rust"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(r(?:ust|s))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.rust","patterns":[{"include":"source.rust"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"scala":{"lang":"scala","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.scala","patterns":[{"include":"source.scala"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(s(?:cala|bt))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(s(?:cala|bt))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.scala","patterns":[{"include":"source.scala"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(s(?:cala|bt))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.scala","patterns":[{"include":"source.scala"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(s(?:cala|bt))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.scala","patterns":[{"include":"source.scala"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(s(?:cala|bt))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.scala","patterns":[{"include":"source.scala"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"scss":{"lang":"scss","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.scss","patterns":[{"include":"source.css.scss"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(scss)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(scss)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.scss","patterns":[{"include":"source.css.scss"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(scss)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.scss","patterns":[{"include":"source.css.scss"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(scss)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.scss","patterns":[{"include":"source.css.scss"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(scss)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.scss","patterns":[{"include":"source.css.scss"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"setClause":{"begin":"(set)\\\\b\\\\s+","beginCaptures":{"1":{"name":"keyword.control.other.typst"}},"end":"(?=if)|(?=[]\\\\n$);\\\\[{}])","patterns":[{"include":"#comments"},{"include":"#strictFuncCallOrPropAccess"},{"include":"#identifier"}]},"setIfClause":{"begin":"(if\\\\b(?!-))\\\\s*","beginCaptures":{"1":{"name":"keyword.control.conditional.typst"}},"end":"(?<=\\\\S)(?<!and|or|not|in|!=|==|<=|>=|[-*+/<=>]|\\\\+=|-=|\\\\*=|/=)(?!\\\\s*(?:and|or|not|in|!=|==|<=|>=|[-*+/<=>]|\\\\+=|-=|\\\\*=|/=|\\\\.))|(?=[]\\\\n);}])","patterns":[{"include":"#comments"},{"include":"#expression"}]},"setStatement":{"begin":"(?=(set\\\\b(?!-))\\\\s*(?<![])}])\\\\b[_\\\\p{XIDS}][-_\\\\p{XIDC}]*)","end":"(?<=\\\\))(?!\\\\s*if\\\\b)|(?=[]$);\\\\[{}\\\\s])","name":"meta.expr.set.typst","patterns":[{"include":"#comments"},{"include":"#setClause"},{"include":"#setIfClause"}]},"shebang":{"begin":"^(#!)","beginCaptures":{"1":{"name":"punctuation.definition.comment.line.shebang.typst"}},"end":"\\\\n","name":"comment.line.shebang.typst"},"shell":{"lang":"shell","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.shell","patterns":[{"include":"source.shell"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(shell|sh|bash|zsh|bashrc|bash_profile|bash_login|profile|bash_logout|\\\\.textmate_init)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(shell|sh|bash|zsh|bashrc|bash_profile|bash_login|profile|bash_logout|\\\\.textmate_init)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.shell","patterns":[{"include":"source.shell"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(shell|sh|bash|zsh|bashrc|bash_profile|bash_login|profile|bash_logout|\\\\.textmate_init)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.shell","patterns":[{"include":"source.shell"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(shell|sh|bash|zsh|bashrc|bash_profile|bash_login|profile|bash_logout|\\\\.textmate_init)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.shell","patterns":[{"include":"source.shell"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(shell|sh|bash|zsh|bashrc|bash_profile|bash_login|profile|bash_logout|\\\\.textmate_init)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.shell","patterns":[{"include":"source.shell"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"showAnyClause":{"captures":{"1":{"name":"keyword.control.other.typst"}},"match":"(show)\\\\b\\\\s*(?=:)"},"showSelectClause":{"begin":"(show)\\\\b\\\\s*","beginCaptures":{"1":{"name":"keyword.control.other.typst"}},"end":"(?=[]\\\\n$:;}])","patterns":[{"include":"#comments"},{"include":"#markupLabel"},{"include":"#expression"}]},"showStatement":{"begin":"(?=(show\\\\b(?!-)))","end":"(?=[]$);\\\\[{}\\\\s])","name":"meta.expr.show.typst","patterns":[{"include":"#comments"},{"include":"#showAnyClause"},{"include":"#showSelectClause"},{"include":"#showSubstClause"}]},"showSubstClause":{"begin":"(:)\\\\s*","beginCaptures":{"1":{"name":"punctuation.separator.colon.typst"}},"end":"(?=[]\\\\n);}])","patterns":[{"include":"#comments"},{"include":"#expression"}]},"sql":{"lang":"sql","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.sql","patterns":[{"include":"source.sql"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(sql|ddl|dml)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(sql|ddl|dml)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.sql","patterns":[{"include":"source.sql"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(sql|ddl|dml)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.sql","patterns":[{"include":"source.sql"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(sql|ddl|dml)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.sql","patterns":[{"include":"source.sql"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(sql|ddl|dml)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.sql","patterns":[{"include":"source.sql"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"strictComments":{"patterns":[{"include":"#blockComment"},{"include":"#strictLineComment"}]},"strictFuncCallOrPropAccess":{"begin":"(?=(\\\\.)?(?<![])}])\\\\b[_\\\\p{XIDS}][-_\\\\p{XIDC}]*(?=[(\\\\[]))","end":"(?<=[])])(?![(.\\\\[])|(?=[]#$),;}\\\\s]|$)","name":"meta.expr.call.typst","patterns":[{"match":"\\\\.","name":"keyword.operator.accessor.typst"},{"captures":{"0":{"patterns":[{"include":"#primitiveFunctions"},{"include":"#primitiveTypes"},{"match":".*","name":"entity.name.function.typst"}]}},"match":"(?<![])}])\\\\b[_\\\\p{XIDS}][-_\\\\p{XIDC}]*(?=[(\\\\[])"},{"include":"#identifier"},{"captures":{"1":{"name":"meta.brace.round.typst"},"2":{"name":"meta.brace.round.typst"}},"match":"(\\\\()\\\\s*(\\\\))"},{"include":"#callArgs"},{"include":"#contentBlock"}]},"strictLineComment":{"begin":"(?<!:)//","beginCaptures":{"0":{"name":"punctuation.definition.comment.typst"}},"end":"(?=$|\\\\n)","name":"comment.line.double-slash.typst"},"strictMathFuncCallOrPropAccess":{"begin":"(?=(?:(\\\\.)((?!_)\\\\p{XIDS}(?:(?!_)\\\\p{XIDC})*)|(?:(?<=_)|\\\\b)(?!_)\\\\p{XIDS}(?:(?!_)\\\\p{XIDC})+)(?=\\\\())","end":"(?<=\\\\))(?![(.]|(?:(?<=_)|\\\\b)(?!_)\\\\p{XIDS}(?:(?!_)\\\\p{XIDC})+(?=\\\\())|(?=[]$),;}\\\\s]|$)","name":"meta.expr.call.typst","patterns":[{"match":"\\\\.","name":"keyword.operator.accessor.typst"},{"captures":{"0":{"name":"entity.name.function.typst","patterns":[{"include":"#primitiveFunctions"},{"include":"#primitiveTypes"},{"match":".*","name":"entity.name.function.typst"}]}},"match":"(?:(?<=_)|\\\\b)(?!_)\\\\p{XIDS}(?:(?!_)\\\\p{XIDC})+(?=\\\\()","name":"entity.name.function.typst"},{"include":"#mathIdentifier"},{"captures":{"1":{"name":"meta.brace.round.typst"},"2":{"name":"meta.brace.round.typst"}},"match":"(\\\\()\\\\s*(\\\\))"},{"include":"#mathCallArgs"}]},"stringLiteral":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.typst"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.typst"}},"name":"string.quoted.double.typst","patterns":[{"captures":{"1":{"name":"constant.character.escape.string.typst"}},"match":"(\\\\\\\\(?:[^u]|u\\\\{?[0-9A-Za-z]*}?))|[^\\"\\\\\\\\]+"}]},"swift":{"lang":"swift","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.swift","patterns":[{"include":"source.swift"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(swift)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(swift)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.swift","patterns":[{"include":"source.swift"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(swift)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.swift","patterns":[{"include":"source.swift"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(swift)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.swift","patterns":[{"include":"source.swift"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(swift)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.swift","patterns":[{"include":"source.swift"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"systemverilog":{"lang":"systemverilog","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.systemverilog","patterns":[{"include":"source.systemverilog"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(s(?:ystemverilog|vh??))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(s(?:ystemverilog|vh??))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.systemverilog","patterns":[{"include":"source.systemverilog"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(s(?:ystemverilog|vh??))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.systemverilog","patterns":[{"include":"source.systemverilog"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(s(?:ystemverilog|vh??))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.systemverilog","patterns":[{"include":"source.systemverilog"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(s(?:ystemverilog|vh??))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.systemverilog","patterns":[{"include":"source.systemverilog"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"ts":{"lang":"ts","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.ts","patterns":[{"include":"source.ts"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(t(?:s|ypescript))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(t(?:s|ypescript))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.ts","patterns":[{"include":"source.ts"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(t(?:s|ypescript))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.ts","patterns":[{"include":"source.ts"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(t(?:s|ypescript))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.ts","patterns":[{"include":"source.ts"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(t(?:s|ypescript))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.ts","patterns":[{"include":"source.ts"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"tsx":{"lang":"tsx","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.tsx","patterns":[{"include":"source.tsx"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(tsx)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(tsx)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.tsx","patterns":[{"include":"source.tsx"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(tsx)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.tsx","patterns":[{"include":"source.tsx"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(tsx)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.tsx","patterns":[{"include":"source.tsx"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(tsx)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.tsx","patterns":[{"include":"source.tsx"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"twig":{"lang":"twig","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.twig","patterns":[{"include":"text.html.twig"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(twig)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(twig)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.twig","patterns":[{"include":"text.html.twig"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(twig)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.twig","patterns":[{"include":"text.html.twig"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(twig)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.twig","patterns":[{"include":"text.html.twig"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(twig)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.twig","patterns":[{"include":"text.html.twig"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"typst":{"lang":"typst","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.typst","patterns":[{"include":"source.typst"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(typ(?:st|))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(typ(?:st|))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.typst","patterns":[{"include":"source.typst"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(typ(?:st|))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.typst","patterns":[{"include":"source.typst"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(typ(?:st|))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.typst","patterns":[{"include":"source.typst"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(typ(?:st|))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.typst","patterns":[{"include":"source.typst"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"typst-code":{"lang":"typst-code","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.typst-code","patterns":[{"include":"#code"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(typ(?:st-code|c))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(typ(?:st-code|c))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.typst-code","patterns":[{"include":"#code"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(typ(?:st-code|c))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.typst-code","patterns":[{"include":"#code"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(typ(?:st-code|c))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.typst-code","patterns":[{"include":"#code"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(typ(?:st-code|c))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.typst-code","patterns":[{"include":"#code"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"vb":{"lang":"vb","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.vb","patterns":[{"include":"source.asp.vb.net"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(vb)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(vb)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.vb","patterns":[{"include":"source.asp.vb.net"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(vb)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.vb","patterns":[{"include":"source.asp.vb.net"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(vb)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.vb","patterns":[{"include":"source.asp.vb.net"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(vb)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.vb","patterns":[{"include":"source.asp.vb.net"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"verilog":{"lang":"verilog","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.verilog","patterns":[{"include":"source.verilog"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(v(?:erilog||h))\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(v(?:erilog||h))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.verilog","patterns":[{"include":"source.verilog"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(v(?:erilog||h))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.verilog","patterns":[{"include":"source.verilog"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(v(?:erilog||h))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.verilog","patterns":[{"include":"source.verilog"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(v(?:erilog||h))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.verilog","patterns":[{"include":"source.verilog"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"whileClause":{"begin":"(while)\\\\b\\\\s*","beginCaptures":{"1":{"name":"keyword.control.loop.typst"}},"end":"(?<!(?:while|and|not|if|or|in|!=|==|<=|>=|[-*+/<>]|=>?|\\\\+=|-=|\\\\*=|/=)\\\\s*)(?=[\\\\n\\\\[{])|(?=[]\\\\n#$),;}]|$)","patterns":[{"include":"#expression"}]},"whileStatement":{"begin":"(?=(while\\\\b(?!-)))","end":"(?<=[]}])(?![\\\\[{])|(?=[]\\\\n$);}]|$)","name":"meta.expr.while.typst","patterns":[{"include":"#comments"},{"include":"#whileClause"},{"include":"#codeBlock"},{"include":"#contentBlock"}]},"xml":{"lang":"xml","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.xml","patterns":[{"include":"text.xml"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(xml|xsd|tld|jsp|pt|cpt|dtml|rss|opml)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(xml|xsd|tld|jsp|pt|cpt|dtml|rss|opml)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.xml","patterns":[{"include":"text.xml"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(xml|xsd|tld|jsp|pt|cpt|dtml|rss|opml)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.xml","patterns":[{"include":"text.xml"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(xml|xsd|tld|jsp|pt|cpt|dtml|rss|opml)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.xml","patterns":[{"include":"text.xml"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(xml|xsd|tld|jsp|pt|cpt|dtml|rss|opml)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.xml","patterns":[{"include":"text.xml"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"xsl":{"lang":"xsl","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.xsl","patterns":[{"include":"text.xml.xsl"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(xslt??)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(xslt??)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.xsl","patterns":[{"include":"text.xml.xsl"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(xslt??)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.xsl","patterns":[{"include":"text.xml.xsl"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(xslt??)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.xsl","patterns":[{"include":"text.xml.xsl"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(xslt??)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.xsl","patterns":[{"include":"text.xml.xsl"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]},"yaml":{"lang":"yaml","patterns":[{"captures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"},"3":{"name":"meta.embedded.block.yaml","patterns":[{"include":"source.yaml"}]},"4":{"name":"punctuation.definition.raw.end.typst"}},"match":"(`{3,})(ya?ml)\\\\b(.*?)(\\\\1)","name":"markup.raw.block.typst"},{"begin":"(`{6})(ya?ml)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.yaml","patterns":[{"include":"source.yaml"}],"while":"(^|\\\\G)(?!\\\\s*`{6,}\\\\s*)"}]},{"begin":"(`{5})(ya?ml)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.yaml","patterns":[{"include":"source.yaml"}],"while":"(^|\\\\G)(?!\\\\s*`{5,}\\\\s*)"}]},{"begin":"(`{4})(ya?ml)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.yaml","patterns":[{"include":"source.yaml"}],"while":"(^|\\\\G)(?!\\\\s*`{4,}\\\\s*)"}]},{"begin":"(`{3})(ya?ml)\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.raw.begin.typst"},"2":{"name":"fenced_code.block.language.typst"}},"end":"\\\\s*(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.raw.end.typst"}},"name":"markup.raw.block.typst","patterns":[{"begin":"(^|\\\\G)(\\\\s*)","contentName":"meta.embedded.block.yaml","patterns":[{"include":"source.yaml"}],"while":"(^|\\\\G)(?!\\\\s*`{3,}\\\\s*)"}]}]}},"scopeName":"source.typst","embeddedLangs":["bat","bibtex","c","clojure","coffee","cpp","css","csharp","dart","diff","docker","elixir","erlang","fsharp","git-commit","git-rebase","go","groovy","handlebars","html","ini","java","javascript","jsonc","json","julia","latex","less","log","lua","make","markdown","objective-c","perl","raku","php","powershell","pug","r","regexp","ruby","scss","sql","swift","xml","xsl","yaml","python","rust","scala","shellscript","typescript","tsx","twig","verilog","system-verilog","vb"],"aliases":["typ"]}')),ie=[...l,...u,...f,...m,...h,..._,...t,...y,...b,...x,...S,...C,...O,...k,...A,...j,...M,...N,...P,...n,...F,...i,...e,...I,...o,...R,...B,...V,...H,...w,...U,...D,...W,...z,...q,...G,...Z,...Q,...L,...g,...E,...r,...d,...$,...a,...X,...T,...p,...J,...Y,...v,...s,...c,...te,...ne,...ee,...K,re];export{ie as default};