Closed aidan-smith closed 2 years ago
If given a bit of direction I'd be happy to implement this myself and submit at PR!
This is already implemented, though a bit buggy. What application are you using this parser with?
I was using it with neovim, it looks like back ticks are a slightly different color, but don't highlight the text inside any differently than without.
Hm, did you try updating nvim-treesitter or running :TSUpdate
. It is working for me. It might also be that your color scheme is highlighting the TSLiteral
group the same as TSText
you might want to have a look at that.
I'm going to close this as code spans seem to be working for other people, so this is probably not an issue with the parser but rather your configuration or some other tool you are using. I'd be happy to help you find the problem though.
As seen here https://github.github.com/gfm/#code-spans