+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Include code block in the blog

Include code block in the blog

3 posts, 1 answered
  1. Preetham Reddy
    Preetham Reddy avatar
    57 posts
    Registered:
    16 Jul 2012
    21 Oct 2014
    Link to this post

    Hi,

    I want to write some technical blogs on my sitefinity website. I would like to include JS/C# code in the blogs. What's the best way to include the code syntax highlighter in sitefinity?

     I've noticed Telerik has some code highlighting in thir blogs :  

    http://www.sitefinity.com/blogs/sabrie-nedzhip's-blog/2014/10/10/extend-the-sitefinity-back-end-forms-grid-and-include-an-action-to-display-subscribers

     

  2. Craig
    Craig avatar
    45 posts
    Registered:
    28 Sep 2008
    21 Oct 2014 in reply to Preetham Reddy
    Link to this post

     I did a blog post on this a little while back.  Hope this helps. 

     http://codeengage.com/blog/craig-holdheide/2014/08/04/how-to-display-formated-code-blocks-using-your-sitefinity-radeditors

    Answered
  3. Preetham Reddy
    Preetham Reddy avatar
    57 posts
    Registered:
    16 Jul 2012
    21 Oct 2014
    Link to this post
    Thanks for a quick reply.. I was able to include it in my blog in 10 mins
3 posts, 1 answered