SmartMarkUP
is a lightweight and powerful JavaScript library that allows you to
turn any textarea into a fancy markup editor. HTML, CSS, XML, Wiki
syntax, BBCode or any other desired markup language can be implemented
and/or adjusted to your preferences and business needs. SmartMarkUP doesn’t depend on any other JavaScript library and can be integrated with any already existing JavaScript library or code.

With single line of code you can turn any general textarea to
powerful markup editor. As far as integration is unobtrusive, HTML of
your application will remain unchanged. SmartMarkUP degrades gracefully
for users without JavaScript without loosing functionality of your
application.

SmartMarkUP is completely customizable and
scriptable as well. Changing styles, implementing new markups, creating
extra buttons and submenus or adding new functionality is a matter of
minutes. SmartMarkUP is distributed under GPL open source licenses, so
SmartMarkUP is absolutely free and you can do anything you like with it!

More