This is the utility module for Drupal 7 that allows users to convert old {syntaxhighlighter} tags
to <pre> in nodes.

Overview

The Syntax highlighter module highlights program code in nodes.
We need to add special tags in the content to make it possible.

Drupal 6 version of Syntax highlighter works with special {syntaxhighlighter} tag:

{syntaxhighlighter SYNTAXHIGHLIGHTER-OPTIONS}
  program code
  ...
{/syntaxhighlighter}

Drupal 7 version of Syntax highlighter only supports native HTML tag <pre>:

<pre class="SYNTAXHIGHLIGHTER-OPTIONS">
  program code
  ...
</pre>

It is significant part of D6 -> D7 upgrading process to convert {syntaxhighlighter} tags to <pre> in the site content.

Note: The module uses batch API for batch processing.

Documentation

Please read usage guide in README.txt.

Project Information

Downloads