SyntaxHighlighter Evolved
Make code copyable without getting line numbers? (6 posts)

  1. picaboy
    Posted 6 years ago #

    WordPress Version: 3.0.1
    Syntax Highlighter Evolved Version: 2.3.8

    I was just wondering if there was a way to alter the code such a way that when I select the code without viewing the source I can copy and paste it without getting the annoying line numbers to paste as well.

    1 package {
    2 import flash.display.MovieClip;
    3 public class Main extends MovieClip {
    4 public function Main() {
    5 }
    6 }
    7 }

    That is the code I get when I copy and paste. It's perfect just without the line numbers. Unfortunately, I need the line numbers to describe what is happening in the code and where.


  2. Alex Mills (Viper007Bond)
    Plugin Author

    Posted 6 years ago #

    The next major release of my plugin will feature version 3.x of Alex G's SyntaxHighlighter script which doesn't highlight the line numbers when you highlight the code.

    But meanwhile there's a toolbar in the upper-right of the code box when you hover over it. The second button is a copy to clipboard button.

  3. picaboy
    Posted 6 years ago #

    I look forward to the release keep up the good work :D

  4. RobertHarm
    Posted 5 years ago #

    Looking forward to this release - thanks for your great work so far!

  5. Ovidiu
    Posted 5 years ago #

    eagerly waiting!

  6. Alex Mills (Viper007Bond)
    Plugin Author

    Posted 5 years ago #

    Just use the button in the toolbar that will copy the code to your clipboard. ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • SyntaxHighlighter Evolved
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic