Index: experimental/webtry/templates/content.html |
diff --git a/experimental/webtry/templates/content.html b/experimental/webtry/templates/content.html |
index 06e2e6d4d31ba5b4c9b7b13d03c8e7bccbde98dd..5f5a98cf984596e4af9780cf96715856cb3aee69 100644 |
--- a/experimental/webtry/templates/content.html |
+++ b/experimental/webtry/templates/content.html |
@@ -1,11 +1,11 @@ |
<section id=content> |
- <pre><code>#include "SkCanvas.h" |
+ <script src="/res/js/cm/codemirror.js"></script> |
+ <script src="/res/js/cm/clike.js"></script> |
-void draw(SkCanvas* canvas) { |
- <textarea spellcheck=false name='code' id='code' rows='15' cols='80'>{{.Code}}</textarea> |
-} |
-</code></pre> |
+ <pre> |
+ <textarea spellcheck=false name='code' id='code' rows='15' cols='100'>{{.Code}}</textarea> |
+ </pre> |
<input type='button' value='Run' id='run'> |
<a href='{{if .Hash}}/c/{{.Hash}}{{end}}' target=_blank id=permalink>Share</a> |