What's the best way to blog with code samples?
Has anyone had any success using the sitefinity blog functionality to blog with code examples that are prettified? I've encountered a problem where, when I use the blog editor and I switch to HTML view and add a <pre> tag it will truncate anything that follows a < or > character. It most likely gets confused and thinks it's an HTML tag.
I see that the editor I'm using right now has a Format Code Block toolbar button on it. Can this be enabled in sitefinity? If so, how do I do that?
Hello Jeff,
You can easily modify the default toolset included by our content editor globally - we have outlined the steps in details in the following blog post. The post also contains the default toolsFile as an attachment - you can modify it to include the
Copy CodePlease do not hesitate to get back to us if you need some additional information.<
tool
name
=
"FormatCodeBlock"
/>