summaryrefslogtreecommitdiff
path: root/queries/markdown/injections.scm
AgeCommit message (Collapse)Author
2022-10-29feat: markdown table highlights and inlineFolke Lemaitre
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-02-09Only allow yaml at start of fileMDeiml
2022-01-06improve markdown highlightingAlvaro Muñoz Sanchez
2022-01-05Be more accurate about code block languageMDeiml
2021-12-14parsers: Add MDeiml/tree-sitter-markdown as markdown parserStephan Seitz
Fixes #872
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>