wiki:MilnCheckboxPlugin

Version 2 (modified by Graham_Miln, 19 months ago) (diff)

Adding better example and link to canonical plugin web page.

Miln Checkbox

Description

Miln Checkbox converts brackets into graphical checkboxes within Trac wiki pages.

Miln Checkbox matches pairs of square brackets within your Trac wiki pages. The brackets need to brace one of the following characters be matched: ' ' (space), '+', 'x', or 'X'.

When matches are found, the brackets are replaced with HTML checkboxes.

See http://miln.eu/open/checkbox for canonical source of Miln Checkbox.

Bugs/Feature Requests

Existing bugs and feature requests for MilnCheckboxPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

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

Example

The following wiki formatted list contains four pairs of brackets that will be matched by Miln Checkbox:

  • [ ] space within brackets
  • [x] lowercase x within brackets
  • [X] uppercase X within brackets
  • [+] plus within brackets

When matches are found, the brackets are replaced with checkboxes:

!#html
<ul>
<li><input type="checkbox" disabled="disabled" /> space within brackets
</li><li><input type="checkbox" disabled="disabled" checked="checked" /> lowercase x within brackets
</li><li><input type="checkbox" disabled="disabled" checked="checked" /> uppercase X within brackets
</li><li><input type="checkbox" disabled="disabled" checked="checked" /> plus within brackets
</li>
</ul>

Recent Changes

[13009] by Graham_Miln on 2013-04-26 11:31:35
[13008] by Graham_Miln on 2013-04-26 11:30:30
  • Applying patch kindly provided by rjollos in #11036; patch adds options to the wiki/TracIni page and improves the coding conventions used.
  • Changed option grouping prefix from 'miln_' to 'miln-' to better match other Trac options.
[13005] by Graham_Miln on 2013-04-25 13:45:27
  • Adding initial release of Miln Checkbox.

Author/Contributors

Author: Graham_Miln
Maintainer: Graham_Miln