SmartMarkUP: A Lightweight JavaScript Library For Any Markup Language
SmartMarkUP JavaScript library permits the transformation of a textarea into a visual editor for any markup language, such as BBCode, HTML, CSS, XML and more.
It can be integrated into any application in an unobtrusive manner (the application code remains unchanged) and degrades gracefully in case of web browsers that not provide JavaScript support.
SmartMarkUP is very lightweight ( the compressed version has only 10 kB) and supports skins editable through CSS, keyboard shortcuts, add-ons and more. Being self contained (does not depend on an external library), SmartMarkUP provides to the developers enough flexibility to use it with Prototype, Jquery, Mootools or other JavaScript frameworks.
This JavaScript library permits the creation of web based markup editing environments with a simple API. SmartMarkUP can be easily customized: the changing of the styles, default markup languages or the addition of a new functionality takes only a few minutes.
A notable feature is represented by the support for modal dialogs which are created based on a few configurable parameters, without the need of additional coding.
The script is compatible with any modern web browser and was successfully tested with Safari 3.x, Firefox 2.x and 3.x, Google Chrome, IE7 and Opera. On the developer website, the comprehensive documentation provides a rapid guide regarding the installation, configuration and styling of SmartMarkUP.
Tags: JavaScript, Web browser, Web Developer ArticlesRelated Articles


























































