summaryrefslogtreecommitdiff
path: root/queries/markdown
AgeCommit message (Collapse)Author
2022-10-30feat: conceal backslash escapeFolke Lemaitre
2022-10-29feat: markdown table highlights and inlineFolke Lemaitre
2022-09-12fix(fold): don't include whitespace end regionsLewis Russell
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.
2022-09-06feat(spell): upstream spell queries from spellsitterLewis Russell
2022-08-26feat: allow to fold markdown sectionsZheng Piaodan
2022-07-25Support TOML metadata in Markdown injectionsAndy Freeland
Hugo, Zola, and likely other static site generators use `+++` for TOML, not YAML.
2022-07-15fix: disable elm parser in markdown to avoid segfaultkiyan
the Elm parser segfaults when injected in markdown. Disable it for now. See https://github.com/elm-tooling/tree-sitter-elm/issues/124
2022-07-03Use markdown metadata blocks for injectionMDeiml
2022-06-26feat(markdown)!: switch to split parser (#3048)Matthias Deiml
* 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
2022-06-22Simplify inline concealJonathan Lopez
2022-06-22Refactor markdown conceal codeJonathan Lopez
2022-06-22Conceal markdown linksJonathan Lopez
2022-04-15highlights(markdown): fix conceal captureStephan Seitz
2022-04-15highlights(markdown): conceal link markersStephan Seitz
2022-04-15highlights(markdown): conceal `emphasis_delimiter`Stephan Seitz
2022-04-15highlights(markdown): add conceal to fenced code blocksStephan Seitz
2022-03-14Highlight markdown `uri_autolink` as `@text.uri`Gustaf Lindstedt
2022-02-09Only allow yaml at start of fileMDeiml
2022-01-11Add highlight for markdown delimitersMDeiml
2022-01-10Fix slow startup times for markdown grammarMDeiml
2022-01-08Add highlight for quote markerMDeiml
2022-01-07highlights(markdown): `image_description` as referencenumToStr
2022-01-07highlights(markdown): image `!` as delimeternumToStr
2022-01-07highlights(markdown): `link_title` as string literalnumToStr
2022-01-07highlights(markdown): image `(` `)` `[` `]` as delemiternumToStr
2022-01-06improve markdown highlightingAlvaro Muñoz Sanchez
2022-01-05Be more accurate about code block languageMDeiml
2021-12-21Markdown: update queriesSantos Gallegos
2021-12-19highlights(markdown): separate highlight for header marker and underline (#2129)Michael Chris Lopez
2021-12-17highlights(markdown): highlight link_text as @text.referenceMichael Chris Lopez
2021-12-14parsers: Add MDeiml/tree-sitter-markdown as markdown parserStephan Seitz
Fixes #872
2021-02-25Add inline html commentsjghauser
2020-11-23fix(injections): update to new APIThomas Vigouroux
2020-10-19feat(languagetree): implement language treeThomas Vigouroux
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>