What’s best way to format C# in WordPress?

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.

Read More

Any help would be much appreciated. I’ve spent about 10 hours trying to come up with a robust solution, and no luck.
Cheers!

Related posts

Leave a Reply

4 comments