If you fill more comfortable with jQuery you can use SmartMarkUP as a jQuery plugin.
For documentation, examples and downloads please visit http://www.phpcow.com/smartmarkup
[Remove SmartMarkUP]