Changes between Version 7 and Version 8 of PreCodeBrowserPlugin


Ignore:
Timestamp:
Oct 3, 2016, 7:50:59 PM (7 years ago)
Author:
figaro
Comment:

Moved example to functional description, added standard installation instructions

Legend:

Unmodified
Added
Removed
Modified
  • PreCodeBrowserPlugin

    v7 v8  
    55== Description
    66
    7 This is a plugin which replaces code `<table>` elements in the source browser with `<pre>` tags.
     7This is a plugin which replaces code `<table>` elements in the source browser with `<pre>` tags. Syntax highlighting is preserved. Line numbers are discarded.
    88
    9 Syntax highlighting is preserved. Line numbers are discarded.
     9Here is how it looks in action on a stock Trac installation:
     10
     11[[Image(example.png, border=2)]]
     12
     13That code is actually inside a `<pre>` tag.
    1014
    1115Other 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.
     
    3135You can check out PreCodeBrowserPlugin from [/svn/precodebrowserplugin here] using Subversion, or [source:precodebrowserplugin browse the source] with Trac.
    3236
    33 == Example
     37== Installation
    3438
    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.
     39General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page.
    4040
    4141== Recent Changes