Search

This is a simple syntax highlighting post formatter, it requires you to have PEAR installed.

Right now only my HTML Formatter supports this.

You can control what language and tabsize the highlighter uses like so:

<pre class="lang-php tabsize-4">
    ... source code here ...
</pre>

This extension is really a test, expect breakage. But hey, if it works, all the better!

Known Problems

  • On the default theme, a newline is inserted before every span, this breaks the output.

Release Changelog

Version 1.002

  • Modified to work with proposed TTF changes. Older version still works with the HTML Formatter.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details