Miln Checkbox converts brackets into graphical checkboxes within Trac wiki pages.
A python (py) file of ~1KB.
Miln Checkbox by Graham Miln is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
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'.
Miln Checkbox uses the following regular expression to perform the matching:
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:
There are two ways to install Miln Checkbox. You can manually copy the file or use Trac's web interface.
Miln Checkbox is a single python file. This means you can use Trac's web interface to upload and install the plugin.
After a few seconds, Miln Checkbox will be uploaded and installed. The new wiki mark-up is available immediately.
You can install Miln Checkbox manually through the command line or a file manager on the server hosting Trac.
Copy the milncheckbox.py file, downloaded from above, into your Trac plugins directory.
Once copied, the new wiki mark-up is available immediately.
Miln Checkbox supports optional configuration options. Options are set within your Trac installation's config.ini file.
[miln-checkbox] class = <CSS class name> type = html …or… unicode
inputtag, or unicode to render unicode based ballot box characters ☐ and ☑. HTML by default.