CHANGELOG.txt |
CHANGELOG.txt |
|
Code Filter 7.x-1.x-dev, xxxx-xx-xx (development release)
-----------------------------------
- Remove translations in favor of localize.drupal.org
- #76234: Fix leading space in code being ignored by browsers
- #1092140 : Dynamic expansion of… |
code-input.txt |
tests/code-input.txt |
|
<code>
// Code comment is here.
watchdog('actions', '@count orphaned actions (%orphans) exist in the actions table. !link', array('@count' => $count, '%orphans' => $orphans, '!link' =>… |
code-input.txt |
modules/codefilter_prism/tests/code-input.txt |
|
<code>
// Code comment is here.
watchdog('actions', '@count orphaned actions (%orphans) exist in the actions table. !link', array('@count' => $count, '%orphans' => $orphans, '!link' =>… |
code-output.txt |
tests/code-output.txt |
|
<pre class="codeblock"><code class="language-php">// Code comment is here.
watchdog('actions', '@count orphaned actions (%orphans) exist in the actions table. !link', array('@count' =>… |
code-output.txt |
modules/codefilter_prism/tests/code-output.txt |
|
<pre class="codeblock"><code class="language-php">// Code comment is here.
watchdog('actions', '@count orphaned actions (%orphans) exist in the actions table. !link', array('@count' =>… |
codefilter.code-input.txt |
tests/codefilter.code-input.txt |
|
<code>
// Comment is here.
watchdog('actions', '@count orphaned actions (%orphans) exist in the actions table. !link', array('@count' => $count, '%orphans' => $orphans, '!link' =>… |
codefilter.code-output.txt |
tests/codefilter.code-output.txt |
|
<div class="codeblock"><code>// Comment is here.<br />watchdog('actions', '@count orphaned actions (%orphans) exist in the actions table. !link', array('@count'… |
codefilter.css |
codefilter.css |
|
div.codeblock {
padding: 5px;
border: 1px solid #ccc;
background-color: #eee;
}
/*
Multiclass not supported in IE6.
*/
.codeblock.nowrap-expand pre,
.codeblock.nowrap-expand[class*="language-"] {
/*
Not supported in IE6 or 7.
… |
codefilter.info |
codefilter.info |
|
name = Code Filter
description = Provides tags for automatically escaping and formatting large pieces of code.
core = 7.x
stylesheets[screen][] = codefilter.css
scripts[] = codefilter.js
files[] = codefilter.test |
codefilter.module |
codefilter.module |
|
Text filter for highlighting PHP source code. |
codefilter.php-input.txt |
tests/codefilter.php-input.txt |
|
<?php
// Comment is here.
watchdog('actions', '@count orphaned actions (%orphans) exist in the actions table. !link', array('@count' => $count, '%orphans' => $orphans, '!link' => $link),… |
codefilter.php-output.txt |
tests/codefilter.php-output.txt |
|
<div class="codeblock"><pre><code><span style="color: #000000"><span style="color: #0000BB"><?php<br /></span><span style="color: #FF8000">// Comment is… |
codefilter.test |
codefilter.test |
|
Functional and unit tests for codefilter.module. |
codefilter_prism.info |
modules/codefilter_prism/codefilter_prism.info |
|
name = Prism Code Filter
description = Provides tags for automatically escaping and formatting code for prism syntax highlighter.
core = 7.x
dependencies[] = codefilter
files[] = codefilter_prism.test |
codefilter_prism.module |
modules/codefilter_prism/codefilter_prism.module |
|
Text filter for highlighting PHP source code. |
codefilter_prism.test |
modules/codefilter_prism/codefilter_prism.test |
|
Unit tests for codefilter_prism.module. |
inline-input.txt |
tests/inline-input.txt |
|
Inline <?php $test = TRUE ?> text for PHP
Inline <code> $test = TRUE </code> text for code
Inline <code class="language-css">.test { color: red; }</code> text for CSS code |
inline-input.txt |
modules/codefilter_prism/tests/inline-input.txt |
|
Inline <?php $test = TRUE ?> text for PHP
Inline <code> $test = TRUE </code> text for code
Inline <code class="language-css">.test { color: red; }</code> text for CSS code |
inline-output.txt |
tests/inline-output.txt |
|
Inline <code class="language-php"> $test = TRUE </code> text for PHP
Inline <code class="language-php"> $test = TRUE </code> text for code
Inline <code class="language-css">.test { color:… |
inline-output.txt |
modules/codefilter_prism/tests/inline-output.txt |
|
Inline <code class="language-php"> $test = TRUE </code> text for PHP
Inline <code class="language-php"> $test = TRUE </code> text for code
Inline <code class="language-css">.test { color:… |
php-input.txt |
tests/php-input.txt |
|
<?php
// PHP comment is here.
watchdog('actions', '@count orphaned actions (%orphans) exist in the actions table. !link', array('@count' => $count, '%orphans' => $orphans, '!link' =>… |
php-input.txt |
modules/codefilter_prism/tests/php-input.txt |
|
<?php
// PHP comment is here.
watchdog('actions', '@count orphaned actions (%orphans) exist in the actions table. !link', array('@count' => $count, '%orphans' => $orphans, '!link' =>… |
php-output.txt |
tests/php-output.txt |
|
<pre class="codeblock"><code class="language-php">// PHP comment is here.
watchdog('actions', '@count orphaned actions (%orphans) exist in the actions table. !link', array('@count' =>… |
php-output.txt |
modules/codefilter_prism/tests/php-output.txt |
|
<pre class="codeblock"><code class="language-php">// PHP comment is here.
watchdog('actions', '@count orphaned actions (%orphans) exist in the actions table. !link',… |
README.txt |
README.txt |
|
ABOUT
-----
This is a simple filter module. It handles <code></code> and <?php ?> tags so
that users can post code without having to worry about escaping with < and
>
INSTALLATION
------------
1. Copy the codefilter… |