Changes between Version 7 and Version 8 of PreCodeBrowserPlugin
- Timestamp:
- Oct 3, 2016, 7:50:59 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PreCodeBrowserPlugin
v7 v8 5 5 == Description 6 6 7 This is a plugin which replaces code `<table>` elements in the source browser with `<pre>` tags. 7 This is a plugin which replaces code `<table>` elements in the source browser with `<pre>` tags. Syntax highlighting is preserved. Line numbers are discarded. 8 8 9 Syntax highlighting is preserved. Line numbers are discarded. 9 Here is how it looks in action on a stock Trac installation: 10 11 [[Image(example.png, border=2)]] 12 13 That code is actually inside a `<pre>` tag. 10 14 11 15 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 and paste code without bringing along the line numbers too. … … 31 35 You can check out PreCodeBrowserPlugin from [/svn/precodebrowserplugin here] using Subversion, or [source:precodebrowserplugin browse the source] with Trac. 32 36 33 == Example37 == Installation 34 38 35 Here is how it looks in action on a stock Trac installation: 36 37 [[Image(example.png)]] 38 39 That code is actually inside a `<pre>` tag. 39 General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. 40 40 41 41 == Recent Changes