Skip to content

Instantly share code, notes, and snippets.

View acutesoftware's full-sized avatar
💭
working on LifePIM Desktop

Duncan Murray acutesoftware

💭
working on LifePIM Desktop
View GitHub Profile
@acutesoftware
acutesoftware / progressive-ace.htm
Created November 29, 2017 05:18 — forked from duncansmart/progressive-ace.htm
Integrating ACE Editor in a progressive way
<textarea name="my-xml-editor" data-editor="xml" rows="15"></textarea>
...
<textarea name="my-markdown-editor" data-editor="markdown" rows="15"></textarea>
...
<script src="//d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js"></script>
<script>
// Hook up ACE editor to all textareas with data-editor attribute
$(function () {