Quantcast

TikiWikiFormatting

There are two things that I find cumbersome about writing WordPress posts by hand:

  • Making HTML links
  • Making lists

Before we had this blog, we had a UseMod wiki, and the wiki syntax for typing these things was really easy. I made a WordPress plugin that lets you use UseMod syntax in your blog posts.

The plugin is free and licensed under the GPL. Download it here! You can also view the source code here.

To install, just copy the tikiwikiformatting.php file into your wp/wp-content/plugins/ directory.

Here is how to use it:

To make an HTML link, type this:

NOCODE:
  1. [http://tikirobot.net The TikiRobot Blog!]

It will look like this: The TikiRobot Blog!

To make an unordered list, type this:

NOCODE:
  1. *item A
  2. *item B
  3. **subitem
  4. *item C

It will look like this:

  • item A
  • item B
    • subitem
  • item C

To make an ordered list, type this:

NOCODE:
  1. #one
  2. ##onePointOne
  3. ##onePointTwo
  4. #two
  5. #three

It will look like this:

  1. one
    1. onePointOne
    2. onePointTwo
  2. two
  3. three

9 Responses to “TikiWikiFormatting”

  1. March 21st, 2007 | 6:28 am

    Nice! I hope you will add a richer feature set over time.

  2. May 1st, 2007 | 8:08 am

    How do I escape a "#"? I tried \#, but that showed up as "\#".

  3. May 1st, 2007 | 8:29 am

    If a # occurs in the middle of a line, you don't need to escape it.

    If a # occurs at the start of a line, precede it with a space. Typing " #" will make it show up as just "#" in your browser.

    Preceded by a space:
    # x
    # y

    Not preceded by a space:

    1. x
    2. y
  4. September 18th, 2007 | 2:16 am

    [...] Visit [...]

  5. September 18th, 2007 | 12:59 pm

    Well, I upgraded WordPress and now everything is broken.

    I changed the filter priority for this plugin to 2, and changed the filter priority of ig::Syntax_Hilite to 1, and now things work, but wptexturize seems to be putting in extra linebreaks. ugh.

    I'll deal with this later.

  6. September 18th, 2007 | 1:19 pm

    err.. it's wpautp(), not wptexturize(), that is causing the problem with the wacky newlines..

  7. September 26th, 2007 | 11:26 am

    [...] TikiWikiFormatting [...]

  8. January 22nd, 2008 | 3:55 am

    [...] Plugin Homepage [...]

  9. January 29th, 2008 | 9:17 am

    [...] Ultimate Tag Warrior 3 - tag文章用,以tag取代分類(categories)的功能。 TikiRobot!,TikiWikiFormatting - 用wiki語法建立連結和列表,懶人blogger專用。 Wordpress PDA Plugin - for my pda. [...]

Leave a reply