mirror of
https://github.com/folke/snacks.nvim
synced 2025-07-07 21:25:11 +00:00
feat(image.doc): enable inline math rendering for neorg files. Closes #1438
This commit is contained in:
parent
e17d60712c
commit
ec487f5d85
1 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
|
||||
(infirm_tag
|
||||
(tag_name) @tag (#eq? @tag "image")
|
||||
(tag_parameters (tag_param) @image.src)
|
||||
) @image
|
||||
|
||||
(inline_math
|
||||
(#set! image.lang "latex")
|
||||
) @image.content @image
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue