WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Crayon Syntax Highlighter] Added feature

[Plugin: Crayon Syntax Highlighter] Added feature

Viewing 1 replies (of 1 total)
  • I also added a feature to pull a named block of code out of a file based on a tag.

    Here is an example use case:
    http://answers.drunkencoders.com/

    Usage:
    <pre url=”my_source_repo” block=”name” >

    code not shown…
    code not shown…

    comment with the string “{b=name}”

    code shown ..
    code shown ..

    comment with the string “{b=name}”

    code not shown ..

    This is very useful for me as it keeps my tutorial source code up to date (all i have to do is update them from source control and the tutorial code is valid).

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Crayon Syntax Highlighter] Added feature’ is closed to new replies.