summaryrefslogtreecommitdiffstats
path: root/queries/markdown_inline
Commit message (Collapse)AuthorAgeFilesLines
* fix(markdown_inline): latex highlight injection (#5397)Zhuofeng Wang2024-01-051-1/+2
| | | | The `injection.include-children` is needed in markdown_inline parser.
* feat(markdown): conceal triple backticks and HTML entitiesMaria José Solano2023-09-171-0/+8
|
* refactor: remove `include-children` from queries (#5226)Pham Huy Hoang2023-09-121-4/+2
| | | These `include-children` were to alleviate an issue with empty range language tree, which has been fixed for Neovim nightly/Neovim 0.9.2
* chore(injections)!: update injection syntax to 0.9Pham Huy Hoang2023-08-121-2/+8
| | | | | | | | | Since 0.9, @lang syntax is still available as fallback but will soon be deprecated. Because of that, new syntax should be adopted once 0.9 becomes the baseline requirements for nvim-treesitter - update health check - update doc
* fix(markdown_inline): don't spellcheck shortlinksRepetitive2023-07-021-0/+2
|
* highlights(markup): distinguish heading level in queriesChristian Clason2023-05-131-6/+4
| | | | | also add a few queries from Helix and remove controversial code block conceal in Markdown
* fix: add @combined to markdown htmlPham Huy Hoang2023-05-031-1/+1
|
* feat(markdown_inline): add @nospell where appropriateJaehwang Jung2023-04-081-2/+2
|
* feat(markdown): add latex injectionsChristian Clason2023-02-051-0/+1
| | | | added in https://github.com/MDeiml/tree-sitter-markdown/pull/71
* markdown: add strikethrough and blockquote capturesChristian Clason2023-01-141-0/+3
|
* highlights(markdown_inline): added ')' to linksJosef Litoš2023-01-041-2/+2
|
* Conceal reference and shortcut links in markdownBen Weedon2022-08-111-6/+30
| | | | | | | | | | | | | | | | | | | | | | | This change conceals `full_reference_link`, `collapsed_reference_link`, and `shortcut_link` similarly to the `markdown_inline` query file already conceals `inline_link` and `image`. ## Test markdown contents ```markdown Some text before the link [full reference link text][link label] and now some text after the link onto a new line. Some text before the link [collapsed reference link text][] and now some text after the link onto a new line. Some text before the link [shortcut link text] and now some text after the link onto a new line. ``` ## Test markdown concealed screenshot Closes #3267
* feat(markdown)!: switch to split parser (#3048)Matthias Deiml2022-06-262-0/+68
* 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