I dont' know if you've ever heard of my program, webcpp.
http://webcpp.sf.net
It converts source code into HTML and supports colour schemes, and over 30 languages, including PERL. It uses its own CSS namespace, so no interference.
In recent versions I've implemented an option for creating snippets only. That combined with the ability to use STDIN/STDOUT, and it's cgi-readiness, it should be able to work on a webserver, with the help of a perl cgi interface.
It's written in C++, but it works on windows, and pretty much compiles in all UNIX variants will Gcc 3.0 or higher. The PerlMonks may be able to get this going, just a thought.
I'm not sure how it'll handle Japh (coz I'm not a Perl hacker), but maybe someone should give it a try.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|