1

I have installed the Geshi extension to allow for syntax highlighting on my MediaWiki-powered website. I am trying to figure out how to make syntax highlighting easily copyable.

Currently, when I try to copy code formatting, the line numbers get copied alongside the code:

enter image description here

I have tried looking at Geshi options to no avail.

dangerChihuahua007
  • 20,299
  • 35
  • 117
  • 206

1 Answers1

0

The GeSHi documentation talks about that in http://qbnz.com/highlighter/geshi-doc.html#line-numbers

$geshi->set_header_type(GESHI_HEADER_PRE_TABLE);
cweiske
  • 30,033
  • 14
  • 133
  • 194