Sublime Forum

Mdpopups doesn't highlight my language

#1

I don’t get nice highlighting in markdown popups

I tried to put this in my settings, but it doesn’t work for some reason. The package that provides syntax highlighting https://packagecontrol.io/packages/Tact

"mdpopups.use_sublime_highlighter": true,
"mdpopups.sublime_user_lang_map": {
	"tact": [["tact"], ["Tact/Tact"]],
},
0 Likes

#2

I haven’t tested, but I would try

"mdpopups.sublime_user_lang_map": {
	"tact": [["tact"], ["Tact/package/Tact"]],
},

because the syntax definition is inside a package subdirectory.

1 Like

#3

Thanks! That worked

0 Likes