Forums

[Plugin: SyntaxHighlighter] Removing line-numbers (3 posts)

  1. salnet
    Member
    Posted 1 year ago #

    Hello,
    I'm running WP 2.6 with the last version of Syntaxhighlighter and it works without problems. But I'm asking myself if it is possible to remove the line-numbers like it is possible in WP-Syntax (although WP-Syntax is a powerful plugin, it makes use of to much ressources).

  2. To1ne
    Member
    Posted 7 months ago #

    This sure would be great...

    But I really don't like the selecting the code goes. The line numbers are selected too. So when copy/pasting the code you'll have to remove those annoying line numbers first.
    For example WP-Syntax or Google Syntax Highlighter don't have this problem.

  3. Viper007Bond
    Member
    Posted 7 months ago #

    My plugin has supported this since v2.0.0. Just visit the settings page and disable the gutter, or do it on a per-code basis:

    [php gutter="false"]code here[/php]

Topic Closed

This topic has been closed to new replies.

About this Topic