wiki:PreCodeBrowserPlugin

Version 2 (modified by Kate, 15 years ago) (diff)

Markup.

Replace code <table>s with <pre> tags

Description

This is a simple plugin which replaces code &lt;table&gt; elements in the source browser with &lt;pre&gt; 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 add non-selectable line numbers. In other words, this lets you cut &amp; 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.

Download

Download the zipped source from [download:precodebrowserplugin here].

Source

You can check out PreCodeBrowserPlugin from here using Subversion, or browse the source with Trac.

Example

Hm. I'll try to add a screenshot, here...

Recent Changes

17032 by rjollos on 2018-02-14 23:10:06
PreCodeBrowser 1.0: Fix missing syntax highlighting

Patch by ntmlod.

Fixes #13341.

17006 by rjollos on 2017-11-30 02:03:51
Remove dependency that is handled by Trac install
17005 by rjollos on 2017-11-30 01:58:03
Conform to PEP8
(more)

Author/Contributors

Author: kate
Contributors:

Attachments (1)

Download all attachments as: .zip