tree-sitter-markdown VS vimtex

Compare tree-sitter-markdown vs vimtex and see what are their differences.

tree-sitter-markdown

Markdown grammar for tree-sitter (by tree-sitter-grammars)

vimtex

VimTeX: A modern Vim and neovim filetype plugin for LaTeX files. (by lervag)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
tree-sitter-markdown vimtex
8 94
355 5,170
8.2% -
0.0 9.0
25 days ago 3 days ago
C TeX
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

tree-sitter-markdown

Posts with mentions or reviews of tree-sitter-markdown. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-21.
  • How to pass environment variables to treesitter grammar
    1 project | /r/NixOS | 27 Jul 2023
    The markdown treesitter grammar accepts environment variables when building to tweak it's behavior. How can I pass these? Currently I am using
  • Project idea: port markdownlint to Rust
    9 projects | /r/rust | 21 Apr 2023
    given the existence of tree sitter grammar for markdown, I think it’d be fairly easy to implement the linter on top of it.
  • New(ish) plugin: ts-vimdoc.nvim, generate vimdoc from your README.md for your plugin using tree-sitter
    6 projects | /r/neovim | 1 Jul 2022
    The original repo wasn't working since the move from ikatyang/tree-sitter-markdown to the new markdown parser by /u/deinemade/ MDeiml/tree-sitter-markdown so I kept maintaining it as a fork with the absolute basics just so I could generate the vimdoc for fzf-lua.
  • Any Markdown plugin for Neovim that you recommend?
    9 projects | /r/neovim | 24 Jun 2022
    The new parser https://github.com/MDeiml/tree-sitter-markdown is more stable. And should be installed by default, if not just run :TSInstall markdown
  • Tree-sitter for markdown
    11 projects | /r/neovim | 14 Dec 2021
    Looks like this scanner uses more of the parser generator features of tree-sitter: grammar.json is almost 11k lines of "definitely not easy to maintain (IMHO)" json. Where as ikatyang's version is a hand written parser. tree-sitter is not great for languages that are not deterministic. The benefits for ikatyang is that it is probably easier to maintain, the drawbacks are it can definitely crash neovim (sadly). For these types of syntax, a parser definitely needs to support look ahead and look behind, which tree-sitter does not support. This is just my not-so-computer-science-y theory.
  • nvim-treesitter for markdown
    3 projects | /r/neovim | 26 Nov 2021
  • Comment.nvim <3 Treesitter and some new [chef kiss] stuff
    1 project | /r/neovim | 24 Nov 2021
    There have been big problems with treesitter Markdown, but the good news is that a brand new version is being worked on and looks like it is going to be awesome! https://github.com/MDeiml/tree-sitter-markdown

vimtex

Posts with mentions or reviews of vimtex. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-10.
  • VimTeX 2.14
    1 project | /r/neovim | 18 Jul 2023
    The full changelog is here: https://github.com/lervag/vimtex/releases/tag/v2.14.
  • setting up vimtex in nvchad
    1 project | /r/neovim | 20 Jun 2023
    Feel free to open an issue on GitHub. Please take care to fill in the issue template; it's meant to help you provide useful details that make it easier for me to give a useful answer.
  • My uses for vimwiki have dried up... and it makes me a little sad
    3 projects | /r/vim | 10 Jun 2023
    I use vimwiki almost daily, but it's not professional use, just daily notes and organizing my life. I started using zim but I found I really missed writing/editing with vim. Then I found vimwiki. There are things I'm not super happy about with it. I saw that /u/lervag (love his vimtex plugin) released a wiki plugin and I was/am interested in it, but I have so much in my wiki right now that I don't want to deal with conversion issues.
  • Note Taking Applications, Beyond the Doc
    1 project | /r/berkeley | 31 May 2023
    Definitely get vimtex and set it up so you can view the compiled document in one window, and your notes in the other. Get used to vim a bit with some vim tutorial (there are a bunch out there), and have latex shortcuts you use in all your documents.
  • I like Tabasco.
    5 projects | /r/linuxmasterrace | 6 May 2023
    I do think VSCode is a great tool and I recommend it frequently to people, but I still want to set the record straight here. Yes, vim is obviously limited in the sense that as a CLI app it doesn't draw it's own PDF or HTML windows, that's fair. But it can remote control your favorite PDF viewer or browser for roughly the same functionality. I'm currently writing my thesis using vimtex and it's quite smooth. And all the other stuff you mention is implemented quite competently by various plugins like vim-fugitive, coc.nvim, vimspector and copilot.vim.
  • Is there a way to render advanced latex on Obsidian?
    1 project | /r/ObsidianMD | 4 May 2023
    Obsidian is limited by its use of markdown files. You can use Overleaf, Vimtex, or LaTeX workshop on VS Code to render your tex documents.
  • [Latex] NVIM, VIM-TEX - Latexrun n'est pas exécutable!
    1 project | /r/enfrancais | 19 Apr 2023
  • What are all the accepted "inner" motion arguments?
    6 projects | /r/vim | 25 Mar 2023
    Some language-specific plugins like vimtex also include their own text objects.
  • [VimTeX] vim on mac lags when trying to use includegraphics[]{} for attaching image to a .tex file
    2 projects | /r/vim | 26 Feb 2023
    I would post an issue on the VimTeX Github page: https://github.com/lervag/vimtex/issues. That way you might also get help to disable the possible indexing. I have also needed to disable project file scanning to stop Vim from hanging, when pressing Ctrl + N to perform simple auto-complete.
  • Which vim plugins do not have a lua equivalent yet?
    23 projects | /r/neovim | 18 Feb 2023
    Absolutely VimTeX

What are some alternatives?

When comparing tree-sitter-markdown and vimtex you can also consider the following projects:

vim-pandoc-syntax - pandoc markdown syntax, to be installed alongside vim-pandoc

coc-texlab - TexLab extension for coc.nvim

mkdnflow.nvim - Fluent navigation and management of markdown notebooks

texlab - An implementation of the Language Server Protocol for LaTeX

marksman - Write Markdown with code assist and intelligence in the comfort of your favourite editor.

tex-conceal.vim

nvim - 🍨 Soothing pastel theme for (Neo)vim

xournalpp - Xournal++ is a handwriting notetaking software with PDF annotation support. Written in C++ with GTK3, supporting Linux (e.g. Ubuntu, Debian, Arch, SUSE), macOS and Windows 10. Supports pen input from devices such as Wacom Tablets.

nvim-treesitter - Nvim Treesitter configurations and abstraction layer

zathura - a document viewer

vim-markdown - Markdown Vim Mode

mermaid - Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown