Trac Formatting Markup

Posted by mb0 on June 21st, 2008
Format everything with tracup!

I use Trac for nearly every project i do now. I am very fond of the nice Trac Wiki Formatting. So i decided to do a quick django rewrite for my blog and some small projects. I wrote a simple tracup (Trac + Marcup) formatter with 3 flavors: inline simple and full.

You can use simple text formatting, links and lists in the comments now.

---- Horizontal line
'''Bold ''italic as well''' still italic''. 
~~strike~~. __underline__ 
^supertext^ ,,subscript,, 
`monospace` or {{{monospace}}} 
use !''' to escape control token.

Just leave a blank line for a new paragraph or [[BR]] use a linebreak.
>> quoted quote
> quote
 * list
 * with items
   1. can be numbered
   1. you don't have to count

 * but you can
   1337. set an index in the first item
   1. and it will count up

 * alphabetical lists
   a. and normal links http://mb0.org
   a. or labeled [http://mb0.org my page]

This example will render like this:


Bold italic as well still italic. strike. underline supertext subscript monospace or monospace use ''' to escape control token.

Just leave a blank line for a new paragraph or
use a linebreak.

quoted quote
quote
  • list
  • with items
    1. can be numbered
    2. you don't have to count
  • but you can
    1. set an index in the first item
    2. and it will count up

Comments

Gravatar
mb0: reply
add a comment
  • and try out the markup

press [Ctrl+S] to show a auto-refreshing preview.

leave a comment