feat(languagetree): implement language tree

Allow the LanguageTree to be used as an option for highlighting.

Co-authored-by: Santos Gallegos <stsewd@protonmail.com>
Co-authored-by: Yazdani Kiyan <yazdani.kiyan@protonmail.com>
This commit is contained in:
Thomas Vigouroux 2020-10-01 21:38:38 +02:00 committed by Kiyan Yazdani
parent e9b6e2d311
commit f7d92f663c
5 changed files with 193 additions and 13 deletions

View file

@ -0,0 +1,6 @@
(fenced_code_block
(info_string) @lang
(code_fence_content) @injection)
((html_block) @injection
(#set! "lang" "html"))