File modules/editor/codemirror/mode/tiki/index.html
Last commit: Sun Dec 17 01:14:09 2017 +0100 Jan Dankert Integration eines weiteren Code-Editors: Codemirror. Demnächst müssen wir hier mal aufräumen und andere Editoren rauswerfen.
1 <!doctype html> 2 3 <title>CodeMirror: Tiki wiki mode</title> 4 <meta charset="utf-8"/> 5 <link rel=stylesheet href="../../doc/docs.css"> 6 7 <link rel="stylesheet" href="../../lib/codemirror.css"> 8 <link rel="stylesheet" href="tiki.css"> 9 <script src="../../lib/codemirror.js"></script> 10 <script src="tiki.js"></script> 11 <style type="text/css">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style> 12 <div id=nav> 13 <a href="http://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../../doc/logo.png"></a> 14 15 <ul> 16 <li><a href="../../index.html">Home</a> 17 <li><a href="../../doc/manual.html">Manual</a> 18 <li><a href="https://github.com/codemirror/codemirror">Code</a> 19 </ul> 20 <ul> 21 <li><a href="../index.html">Language modes</a> 22 <li><a class=active href="#">Tiki wiki</a> 23 </ul> 24 </div> 25 26 <article> 27 <h2>Tiki wiki mode</h2> 28 29 30 <div><textarea id="code" name="code"> 31 Headings 32 !Header 1 33 !!Header 2 34 !!!Header 3 35 !!!!Header 4 36 !!!!!Header 5 37 !!!!!!Header 6 38 39 Styling 40 -=titlebar=- 41 ^^ Box on multi 42 lines 43 of content^^ 44 __bold__ 45 ''italic'' 46 ===underline=== 47 ::center:: 48 --Line Through-- 49 50 Operators 51 ~np~No parse~/np~ 52 53 Link 54 [link|desc|nocache] 55 56 Wiki 57 ((Wiki)) 58 ((Wiki|desc)) 59 ((Wiki|desc|timeout)) 60 61 Table 62 ||row1 col1|row1 col2|row1 col3 63 row2 col1|row2 col2|row2 col3 64 row3 col1|row3 col2|row3 col3|| 65 66 Lists: 67 *bla 68 **bla-1 69 ++continue-bla-1 70 ***bla-2 71 ++continue-bla-1 72 *bla 73 +continue-bla 74 #bla 75 ** tra-la-la 76 +continue-bla 77 #bla 78 79 Plugin (standard): 80 {PLUGIN(attr="my attr")} 81 Plugin Body 82 {PLUGIN} 83 84 Plugin (inline): 85 {plugin attr="my attr"} 86 </textarea></div> 87 88 <script type="text/javascript"> 89 var editor = CodeMirror.fromTextArea(document.getElementById("code"), { 90 mode: 'tiki', 91 lineNumbers: true 92 }); 93 </script> 94 95 </article>
Downloadmodules/editor/codemirror/mode/tiki/index.html
History Sun, 17 Dec 2017 01:14:09 +0100 Jan Dankert Integration eines weiteren Code-Editors: Codemirror. Demnächst müssen wir hier mal aufräumen und andere Editoren rauswerfen.