Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • phenryll 28 posts 53 karma points
    Apr 15, 2010 @ 21:31
    phenryll
    0

    Adding a SyntaxHighlighter for snippet code

    I am a .NET developer and I was wondering if Umbraco provided a way to highlight snippet code in a way that SyntaxHighlighter offers.

    For a screenshot: http://alexgorbatchev.com/wiki/SyntaxHighlighter:Brushes:CSharp

    Thanks in advance.

     

    R.

  • Morten Bock 1867 posts 2140 karma points MVP 2x admin c-trib
    Apr 15, 2010 @ 23:05
    Morten Bock
    0

    Depending on your needs, you might be find this package useful:

    http://our.umbraco.org/projects/prettify4umbraco

    If not, then it is pretty easy to implement SyntaxHighlighter on your website.

    Where do you want the highlighting to happen?

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Apr 15, 2010 @ 23:06
    Dirk De Grave
    0

    Guess he wants it in de backend, in which case he'll have to use v4.1 as it's supported oob from that version onwards.

     

    Cheers,

    /Dirk

  • phenryll 28 posts 53 karma points
    Apr 16, 2010 @ 10:40
    phenryll
    0

    Thanks guys. The Prettify4Umbraco seems to be what I am looking for.

    The typical scenario is the following: I create a page, I want to insert a snippet code that is highlighted. As an admin, I insert my code and it must be highlighted on the front-end at least.

    Dirk, what does oob stand for please?

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Apr 16, 2010 @ 11:10
    Dirk De Grave
    0

    oob = out of the box

  • phenryll 28 posts 53 karma points
    Apr 16, 2010 @ 13:28
    phenryll
    0

    Thanks a lot guys.

    Cheers,

     

    R.

Please Sign in or register to post replies

Write your reply to:

Draft