What's the best way to blog with code samples?

Posted by Community Admin on 03-Aug-2018 15:58

What's the best way to blog with code samples?

All Replies

Posted by Community Admin on 01-Feb-2012 00:00

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?

Posted by Community Admin on 06-Feb-2012 00:00

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 Code
<tool name="FormatCodeBlock" />
Please do not hesitate to get back to us if you need some additional information.
Kind regards,
Svetoslav Petsov
the Telerik team
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed