Ace is an embeddable code editor written in JavaScript. It matches the features and performance of native editors such as Sublime, Vim and TextMate. It can be easily embedded in any web page and JavaScript application. Ace is maintained as the primary editor for Cloud9 IDE and is the successor of the Mozilla Skywriter (Bespin) project.
Javascript mode
1
2
/**
CSS mode
1
2
.text-layer {
LESS mode
1
2
/* styles.less */
Ruby mode
1
2
#!/usr/bin/ruby
Coffee mode
1
2
#!/usr/bin/env coffee
HTML mode
1
2
<!-- Default panel -->
JSON mode
1
2
{
PHP mode
1
2
<?php
SASS mode
1
2
// sass ace mode;
Handlebars mode
1
2
{{!-- Ace + :-}} --}}