diff options
author | Gokul Soumya | 2021-12-18 18:35:43 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-12-19 06:23:39 +0000 |
commit | 7c01d926536bcaacc92bbf4a2b1a06e96e6268a0 (patch) | |
tree | 0f8abcf91564a1c7823fbfd285326bdf4cf87024 /runtime/queries/markdown | |
parent | 8208d22601dfbecbdaa14be273e998eccfd63220 (diff) |
Add link and quote queries for markdown
- Rename markup.underline.link to markup.link.url
- Add markup.link.label
- Add markup.quote
(The constructor theme scope was missing from the
docs, so unrelated to this commit).
Diffstat (limited to 'runtime/queries/markdown')
-rw-r--r-- | runtime/queries/markdown/highlights.scm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/queries/markdown/highlights.scm b/runtime/queries/markdown/highlights.scm index a102719b..a0bd3462 100644 --- a/runtime/queries/markdown/highlights.scm +++ b/runtime/queries/markdown/highlights.scm @@ -10,15 +10,16 @@ (fenced_code_block) ] @markup.raw.block +(block_quote) @markup.quote + (code_span) @markup.raw.inline (emphasis) @markup.italic (strong_emphasis) @markup.bold -(link_destination) @markup.underline.link - -; (link_label) @markup.label ; TODO: rename +(link_destination) @markup.link.url +(link_label) @markup.link.label [ (list_marker_plus) |