aboutsummaryrefslogtreecommitdiffstats
path: root/queries/markdown
Commit message (Collapse)AuthorAgeFilesLines
* markdown: add strikethrough and blockquote capturesChristian Clason2023-01-141-0/+2
|
* feat: added highlights for markdown checkboxesFolke Lemaitre2022-12-021-0/+4
|
* feat: conceal backslash escapeFolke Lemaitre2022-10-301-5/+4
|
* feat: markdown table highlights and inlineFolke Lemaitre2022-10-292-1/+12
|
* fix(fold): don't include whitespace end regionsLewis Russell2022-09-121-6/+9
| | | | | | | | | | | | Some languages that are difficult to parse via Treesitter may incorrectly include whitespace lines at the end of regions. This can makes the calculated folds sub-optimal. To recitfy, use a custom directive (trim), to calculate the range with the trailing whitespace lines removed. Note this only works if the region end column is 0. Also added folds for Make.
* feat(spell): upstream spell queries from spellsitterLewis Russell2022-09-061-0/+2
|
* feat: allow to fold markdown sectionsZheng Piaodan2022-08-261-0/+1
|
* Support TOML metadata in Markdown injectionsAndy Freeland2022-07-251-4/+2
| | | | | Hugo, Zola, and likely other static site generators use `+++` for TOML, not YAML.
* fix: disable elm parser in markdown to avoid segfaultkiyan2022-07-151-0/+1
| | | | | the Elm parser segfaults when injected in markdown. Disable it for now. See https://github.com/elm-tooling/tree-sitter-elm/issues/124
* Use markdown metadata blocks for injectionMDeiml2022-07-031-1/+5
|
* feat(markdown)!: switch to split parser (#3048)Matthias Deiml2022-06-262-59/+10
| | | | | | | | * switch to split markdown parser with separate block and inline parsers to improve performance * add exclude_children! directive (useful for something like Injected markdown incorrectly highlights indented docstrings #2212) * split markdown queries into block and inline ones and add the injection for inline into block grammar * add include_dir option to parser configs (needed because the two grammars don't live in the repos root directory) BREAKING CHANGE: downstream queries need to be adapted to new parser
* Simplify inline concealJonathan Lopez2022-06-221-12/+3
|
* Refactor markdown conceal codeJonathan Lopez2022-06-221-21/+25
|
* Conceal markdown linksJonathan Lopez2022-06-221-0/+22
|
* highlights(markdown): fix conceal captureStephan Seitz2022-04-151-1/+1
|
* highlights(markdown): conceal link markersStephan Seitz2022-04-151-0/+8
|
* highlights(markdown): conceal `emphasis_delimiter`Stephan Seitz2022-04-151-5/+6
|
* highlights(markdown): add conceal to fenced code blocksStephan Seitz2022-04-151-0/+7
|
* Highlight markdown `uri_autolink` as `@text.uri`Gustaf Lindstedt2022-03-141-1/+4
|
* Only allow yaml at start of fileMDeiml2022-02-091-1/+1
|
* Add highlight for markdown delimitersMDeiml2022-01-111-2/+6
|
* Fix slow startup times for markdown grammarMDeiml2022-01-101-2/+2
|
* Add highlight for quote markerMDeiml2022-01-081-0/+2
|
* highlights(markdown): `image_description` as referencenumToStr2022-01-071-4/+5
|
* highlights(markdown): image `!` as delimeternumToStr2022-01-071-0/+3
|
* highlights(markdown): `link_title` as string literalnumToStr2022-01-071-1/+4
|
* highlights(markdown): image `(` `)` `[` `]` as delemiternumToStr2022-01-071-1/+5
|
* improve markdown highlightingAlvaro Muñoz Sanchez2022-01-062-5/+15
|
* Be more accurate about code block languageMDeiml2022-01-051-1/+2
|
* Markdown: update queriesSantos Gallegos2021-12-212-0/+6
|
* highlights(markdown): separate highlight for header marker and underline (#2129)Michael Chris Lopez2021-12-191-3/+12
|
* highlights(markdown): highlight link_text as @text.referenceMichael Chris Lopez2021-12-171-0/+1
|
* parsers: Add MDeiml/tree-sitter-markdown as markdown parserStephan Seitz2021-12-142-13/+28
| | | | Fixes #872
* Add inline html commentsjghauser2021-02-251-0/+2
|
* fix(injections): update to new APIThomas Vigouroux2020-11-231-4/+3
|
* feat(languagetree): implement language treeThomas Vigouroux2020-10-192-0/+25
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>