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 href="http://drupalcode.org/project/syntaxhighlighter_to_pre.git/blob_plain/refs/heads/7.x-1.x:/README.txt">README.txt.

Project information

  • caution Seeking new maintainer
    The current maintainers are looking for new people to take ownership.
  • caution No further development
    No longer developed by its maintainers.
  • Module categories: Content Display, Developer Tools
  • Created by Konstantin Komelin on , updated
  • shieldStable releases for this project are covered by the security advisory policy.
    Look for the shield icon below.

Releases