Hey bloggers out there! I've created Wordpress blog that I am hosting myself, and I'm having the hardest time figuring out the best way to add C# snippets to my blog. What do you all use?
I'm currently using the "SyntaxHighlighter Evolved" plugin, and it works great for the most part - the only problem is that switching back to the Visual Editor removes all of the whitsepace padding. I've tried wrapping the [sourcecode] tags in <pre>'s, but then the formatter doesn't work correctly.
Any help would be much appreciated. I've spent about 10 hours trying to come up with a robust solution, and no luck. Cheers!
Formatting C drive can wipe virus or malware safely and safeguard computer. System has crashed: Operating system on your computer cannot boot, and formatting C drive and reinstalling system might be ultimate solution.
☛ Unfortunately you cannot directly Format C drive without deleting Windows, but there's a Reset this PC feature could wipe everything off the hard drive and then reinstall Windows. Thus all the problems will be solved at once.
See the blog post that I wrote on this exact question, which explains how to use SyntaxHighlighter and fix TinyMCE so that it doesn't mess up your white space or tags (you can either customize one of the tinymce files in Wordpress, or use a plugin to do it for you).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With