OctoDev Posted April 24, 2015 Posted April 24, 2015 I installed a plugin called Code Snippet to format all kind of codes, including C++, Nginx etc. However it looks fine inside the editor: But when posted there are no format or colors
AutoItScript Posted April 25, 2015 Posted April 25, 2015 Code snippet only highlights within the editor I'm afraid although it adds tags to the html so that other js highlighting code can work with it. Prettify, which is installed by default understands a few of the languages that you can use in code snippets but the highlighting won't match exactly. I would have thought that c++ would have worked ok though.
OctoDev Posted April 26, 2015 Author Posted April 26, 2015 Code snippet only highlights within the editor I'm afraid although it adds tags to the html so that other js highlighting code can work with it. Prettify, which is installed by default understands a few of the languages that you can use in code snippets but the highlighting won't match exactly. I would have thought that c++ would have worked ok though. ipb code the default one only supports html, css and js and php lol but i dont think it colorizes it nicely.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.