tree-sitter-grammars / tree-sitter-markdown

Markdown grammar for tree-sitter
MIT License
414 stars 52 forks source link

Code fense aliases #24

Closed sarmong closed 2 years ago

sarmong commented 2 years ago

Tim Pop's implementation includes the following

let g:markdown_fenced_languages = ['bash=sh']

It would be nice to implement in here as well.

MDeiml commented 2 years ago

This repo is just for the tree-sitter markdown grammar, which is not actually specific for neovim. You could ask in the nvim-treesitter repo for any neovim specific questions.

Searching about this I came up with this https://github.com/nvim-treesitter/nvim-treesitter/issues/812 which seems to be at least similar to what you want to do.