jonschlinkert / sublime-markdown-extended

Top 100 Sublime Text plugin! Markdown syntax highlighter for Sublime Text, with extended support for GFM fenced code blocks, with language-specific syntax highlighting. YAML Front Matter. Works with ST2/ST3. Goes great with Assemble.
https://github.com/jonschlinkert
MIT License
660 stars 96 forks source link

c++ highlighting not working #49

Open codecypher opened 10 years ago

codecypher commented 10 years ago

Hi,

I can't get code fencing for c++ code to work correctly. It's working for javascript, html, css and shell.

I'm using ```cpp like the other syntaxes. Just to make sure, I switched to view syntax as c++ to make sure ST3 is configured correctly.

Thanks in advance.

jonschlinkert commented 10 years ago

hmmm, I don't work with c++ but it might be that need to install a sublime text syntax package first...? For example, handlebars highlighting doesn't work until the handlebars package is installed. if that's not the issue, I'll try to look into it more

codecypher commented 10 years ago

No, c++ syntax highlighting is builtin to ST3. Is there something else needed?

Jeff

On Feb 26, 2014, at 6:17 PM, Jon Schlinkert notifications@github.com wrote:

hmmm, I don't work with c++ but it might be that need to install a sublime text syntax package first...? For example, handlebars highlighting doesn't work until the handlebars package is installed. if that's not the issue, I'll try to look into it more

— Reply to this email directly or view it on GitHub.

thisizkp commented 9 years ago

C++ syntax highlight doesn't work properly with ST2, Inconsistent Comments are not highlighted always.. temp

riteme commented 9 years ago

The same thing happened to me. It doesn't work for c++ syntax on Sublime Text 3.
I installed C++11 package and disabled builtin package.
But it doesn't work for both of them.

jonschlinkert commented 9 years ago

@riteme are you saying it doesn't work in general, or just with this package?

riteme commented 9 years ago

@jonschlinkert It doesn't work in general.

jonschlinkert commented 8 years ago

if someone wants to do a pr for this that would be great. I don't write c++ and would have very little perspective as to what looks right

chenyanzhe commented 8 years ago

Anyone has solved this problem now? The same thing happened to me :-(