this post was submitted on 12 Sep 2023
983 points (97.8% liked)

Programmer Humor

18255 readers
607 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 11 points 9 months ago (2 children)

I've been having trouble getting syntax highlighting to work on my '```' fenced code blocks. I give it the right/supported language identifier, but nothing changes.

I'm using neovim with a bunch of lsp plugins and treesitter. Anyone have dotfiles with markdown code syntax highlighting working?

[–] [email protected] 6 points 9 months ago* (last edited 9 months ago)

Are u using Mason and LSPconfig?

edit: Oh, I don't know that getting syntax highlighting in the blocks is something i've seen

[–] [email protected] 2 points 9 months ago* (last edited 9 months ago)

Have you installed the treeesitter grammars for those languages with :TSInstall language_name or in your treesitter config?