2023-05-03 19:07:59 +09:00
|
|
|
([
|
|
|
|
|
(line_comment)
|
|
|
|
|
(block_comment)
|
|
|
|
|
(comment_environment)
|
2024-01-06 15:05:50 +09:00
|
|
|
] @injection.content
|
|
|
|
|
(#set! injection.language "comment"))
|
2022-02-04 11:29:46 +01:00
|
|
|
|
|
|
|
|
(pycode_environment
|
2024-01-06 15:05:50 +09:00
|
|
|
code: (source_code) @injection.content
|
2023-05-03 19:07:59 +09:00
|
|
|
(#set! injection.language "python"))
|
2022-02-04 20:43:45 +01:00
|
|
|
|
2023-06-02 11:37:24 +01:00
|
|
|
(sagesilent_environment
|
2024-01-06 15:05:50 +09:00
|
|
|
code: (source_code) @injection.content
|
2023-06-02 11:37:24 +01:00
|
|
|
(#set! injection.language "python"))
|
|
|
|
|
|
|
|
|
|
(sageblock_environment
|
2024-01-06 15:05:50 +09:00
|
|
|
code: (source_code) @injection.content
|
2023-06-02 11:37:24 +01:00
|
|
|
(#set! injection.language "python"))
|
|
|
|
|
|
2024-07-18 17:38:19 +02:00
|
|
|
(luacode_environment
|
|
|
|
|
code: (source_code) @injection.content
|
|
|
|
|
(#set! injection.language "lua"))
|
|
|
|
|
|
|
|
|
|
(asy_environment
|
|
|
|
|
code: (source_code) @injection.content
|
|
|
|
|
(#set! injection.language "c"))
|
|
|
|
|
|
|
|
|
|
(asydef_environment
|
|
|
|
|
code: (source_code) @injection.content
|
|
|
|
|
(#set! injection.language "c"))
|
|
|
|
|
|
2022-02-04 20:43:45 +01:00
|
|
|
(minted_environment
|
|
|
|
|
(begin
|
2024-03-21 20:44:35 +09:00
|
|
|
language: (curly_group_text
|
|
|
|
|
(text) @injection.language))
|
2023-05-03 19:07:59 +09:00
|
|
|
(source_code) @injection.content)
|