• Home
  • About Jon Dowdle
  • Lifestream
KEEP IN TOUCH

Posts tagged Wikitext

WikiText & Eclipse: Making Documentation Easier

Apr12
2010
Written by Jon Dowdle

Writing documentation can be a serious pain. So the oft taken path is to not write anything. Recently, I was exploring menu options in Eclipse and noticed the WikiText option. I must have been hiding under a rock because I haven't noticed how nice WikiText is nor where it is applicable.

About WikiText

WikText is a structured language that is easily readable by humans and is pretty easy to parse. As an example this is how you write a h1:

h1. Main heading

Examples

It really couldn't be any more simple than that. Similar markup exists for a larger part of HTML as well. Here are a few more examples:

*this creates bold text*
__italic text__
#Numbered list item 1
#Numbered list item 2
*Bulleted list item
bc. Block Code in here

An easy to use markup language isn't that interesting on it's own IMO, but when it's natively supported by your tooling things get a lot more useful.

So typing something like this in Eclipse:

Generates something like this:

Eclipse is very happy to convert your WikiText to HTML, DocBook and Eclipse help files.

Even outside of Eclipse, I find this useful as many sites will parse your .textile files. Outside of wiki sites, I think the most notable would be git hub. If you have a README.textile they will parse it and generate the HTML for your project page based off of it.

The Eclipse documentation here talks more about the capabilities but I think the above are the most important (especially if your like me and didn't know about it).

Posted in Code - Tagged html, Markup languages, Wiki

Recent Posts

  • Code from TDD Demystified through Katas
  • Awesome Web Development Links Found This Week
  • Taggable Demo Video (now with more code)
  • Taggable Demo Video
  • New jQuery Plugin: Taggable

Categories

  • Code
    • MySQL
    • Programming
    • Web Design
  • coldfusion
  • Life
    • Events
  • Reviews
  • Uncategorized
  • Work

Tags

adobe barcamp barcamporlando coldfusion ComplexByteArrayException concat conferences decorator design pattern Events firebug Form fowa html IE ignite infection control iterator javascript job jQuery movies MySql orlando Photos pirate booty pirates plugins poll project python railo software development sql stackoverflow stax.net style taggable tags talk like a pirate tips & tricks tools twitter washington dc Web Design

RSS Syndication

  • All posts
  • All comments

EvoLve theme by Theme4Press  •  Powered by WordPress jDowdle.com