Contents
Replace code <table>
s with <pre>
tags
Description
This is a plugin which replaces code <table>
elements in the source browser with <pre>
tags. Syntax highlighting is preserved. Line numbers are discarded.
Here is how it looks in action on a stock Trac installation:
That code is actually inside a <pre>
tag.
Other than appealing to minimalists, this is useful in conjunction with something along the lines of http://elide.org/widgets/linenumbers, which is client-side Javascript to dynamically insert non-selectable line numbers. In other words, this lets you cut and paste code without bringing along the line numbers too.
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!
Bugs/Feature Requests
Existing bugs and feature requests for PreCodeBrowserPlugin are here.
If you have any issues, create a new ticket.
defect |
1 / 1 |
---|
Download
Download the zipped source from here.
Source
You can check out PreCodeBrowserPlugin from here using Subversion, or browse the source with Trac.
Installation
General instructions on installing Trac plugins can be found on the TracPlugins page.
Recent Changes
Author/Contributors
Attachments (1)
-
example.png (14.7 KB) - added by 16 years ago.
An example
Download all attachments as: .zip