Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor viper007bond

    (@viper007bond)

    1)

    global $SyntaxHighlighter;
    $SyntaxHighlighter->codeformat = 1;
    echo $SyntaxHighlighter->parse_shortcodes( '[php]<?php echo 'hello world'; ?>[/php]' );
    $SyntaxHighlighter->codeformat = false;

    2) You’re on your own for that one. It won’t be easy.

    Thread Starter shidouhikari

    (@shidouhikari)

    tnx ??

    but why isn’t it easy? I’ve seen it in 2 sites at least, is it custom?

    Plugin Contributor viper007bond

    (@viper007bond)

    but why isn’t it easy? I’ve seen it in 2 sites at least, is it custom?

    That is v1.x of the script: https://code.google.com/p/syntaxhighlighter/

    It’s not as good as v2.x of the script.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: SyntaxHighlighter Evolved] Questions’ is closed to new replies.