{syntaxhighlighter} to PRE Converter
Categories
Component ID
1673158
Component name
{syntaxhighlighter} to PRE Converter
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
839
Component created
Component changed
Component body
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.
