Hi,
I will definitely add support for that. I cannot guarantee that the correct language will be selected when highlighting, since Ace Editor and Markdown use different naming conventions for programming languages (for example, Ace Editor uses the name c_cpp for c++, while markdown uses cpp), however, most of the names are the same.
Version 1.3.3 has support for Markdown. Please let me know if you encounter any issues.
Hi
I’ve updated the plugin to the new version. You can see a demo page here:
https://spizzi.net/test/
The plugin has no default language configured. Something goes wrong with the parsing. The language is not detected and the syntax highlighting does not work. Also, the icons are not showing. Can you check this?
Sure thing, let me check it.
I also noticed that the buttons are not showing. I’ll check that also.
What theme are you using?
Cool, thank you!
I’m using the theme ‘Nucleare Pro’ from Cresta Project:
http://crestaproject.com/downloads/nucleare/
According to plugins: I’m currently just have activated Jetpack, a Backup plugin, a force SSL plugin, Akismet and your “Mivhak Syntax Highlighter”.
I tested the plugin with your theme and i’m not getting any issues. The icons are displaying properly and markdown is parsed properly. I would deactivate all plugins and see if that works. It could be one of the modules inside jetpack, so you might want to activate them one by one to see which one is causing it. It could also be an issue with the pro version of the theme, in which case I have no way of testing it.
Hi
Problems are now solved. I had to active both pre and code tags inside the settings. In addition, I’ve used an old PHP version (5.4), which breaks the markdown parsing for the code language. I now have PHP 5.6.
The root cause for the hidden icons was the os of my web hoster. They use CentOS 5, where the MIME Type for svg is not defined. Quick fix inside .htaccess and it works:
AddType image/svg+xml svg svgz
AddEncoding gzip svgz
Thank you for your support!
Great job investigating! Glad to see you got it working.