Skip to content
Snippets Groups Projects
Commit 866934b3 authored by Dmitry Kiselyov's avatar Dmitry Kiselyov Committed by Marijn Haverbeke
Browse files

[stylus mode] Added tabSize and link to the author in demo page

parent fc2def32
No related branches found
No related tags found
No related merge requests found
......@@ -28,8 +28,9 @@
<h2>Stylus mode</h2>
<form><textarea id="code" name="code">
/* Stylus mode */
#id
.class
#id,
.class,
article
font-family Arial, sans-serif
......@@ -96,9 +97,10 @@ a:focus {
<script>
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
extraKeys: {"Ctrl-Space": "autocomplete"},
tabSize: 2
});
</script>
<p><strong>MIME types defined:</strong> <code>text/x-styl</code>.</p>
<p>Created by <a href="https://github.com/dmitrykiselyov">Dmitry Kiselyov</a></p>
</article>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment