Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Web-based HTML snippet editor

I'm looking for a web-based HTML editor. I am NOT looking for a WYSIWYG editor. The author needs to be able to edit the HTML directly, and I'm looking for features like syntax highlighting, tag auto-completion, whitespace formatting - stuff you'd expect in a typical IDE. It also needs to be able to edit HTML snippets that aren't necessarily valid HTML on their own (for example, just a table row without table tags) without puking.

Does anything like this exist?

like image 942
Daniel Schaffer Avatar asked Oct 24 '22 11:10

Daniel Schaffer


1 Answers

markItUp!

markItUp! is a JavaScript plugin built on the jQuery library. It allows you to turn any textarea into a markup editor. Html, Textile, Wiki Syntax, Markdown, BBcode or even your own Markup system can be easily implemented.

CodeMirror

CodeMirror is a JavaScript library that can be used to create a relatively pleasant editor interface for code-like content ― computer programs, HTML markup, and similar. If a mode has been written for the language you are editing, the code will be coloured, and the editor will optionally help you with indentation.

like image 116
Chris Fulstow Avatar answered Oct 27 '22 10:10

Chris Fulstow