Replace code <table>s with <pre> tags
Description
This is a simple plugin which replaces code <table> elements in the source browser with <pre> tags.
Syntax highlighting is preserved. Line numbers are gone.
Other than appealing to minimalists, this is useful in conjunction with something along the lines of http://elide.org/widgets/linenumbers - that's client-side javascript to dynamically insert non-selectable line numbers. In other words, this lets you cut & paste code without bringing along the line numbers too.
Bugs/Feature Requests
Existing bugs and feature requests for PreCodeBrowserPlugin are here.
If you have any issues, create a new ticket.
If you find this plugin useful, I'd love to hear what for; come and find me on IRC as kate` on freenode and let me know. Thanks!
Download
Download the zipped source from here.
Source
You can check out PreCodeBrowserPlugin from here using Subversion, or browse the source with Trac.
Example
Here's how it looks in action on a stock Trac installation:
Not very exciting, hey? That is actually inside a <pre> tag, I promise.
Recent Changes
[5810] by kate on 05/20/09 03:24:50
Oops... I thought these only took effect within the path given to Transformer(); looks like these need to be more explicit.
[5804] by kate on 05/20/09 00:19:32
Initial import.
[5803] by kate on 05/20/09 00:04:54
I do not intend to create a version for 0.9.
[5802] by kate on 05/20/09 00:03:08
New hack PreCodeBrowserPlugin, created by kate
Author/Contributors
Author: kate
Contributors:
Attachments
- example.png (14.7 kB) -
An example
, added by kate on 05/20/09 00:22:47.


