diff options
author | Valerio Virgillito | 2012-07-17 11:29:09 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-07-17 11:29:09 -0700 |
commit | 58e86247524cc2d545bd6884f1b5c9fdba3b9164 (patch) | |
tree | 53305d354fce502ee39378babf47ace6c91ce2fd /imports/codemirror/mode/tiki/index.html | |
parent | 0f0cffd4df85e7adf5081fe66c768c70b2ead9b3 (diff) | |
parent | 4f737b24c19ddc02d20f9783b8b080fc6ef11142 (diff) | |
download | ninja-58e86247524cc2d545bd6884f1b5c9fdba3b9164.tar.gz |
Merge branch 'refs/heads/master' into v0.7.1
Diffstat (limited to 'imports/codemirror/mode/tiki/index.html')
-rw-r--r-- | imports/codemirror/mode/tiki/index.html | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/imports/codemirror/mode/tiki/index.html b/imports/codemirror/mode/tiki/index.html new file mode 100644 index 00000000..bf800407 --- /dev/null +++ b/imports/codemirror/mode/tiki/index.html | |||
@@ -0,0 +1,82 @@ | |||
1 | <html xmlns="http://www.w3.org/1999/xhtml"> | ||
2 | <head> | ||
3 | <title>CodeMirror: Tiki wiki mode</title> | ||
4 | <link rel="stylesheet" href="../../lib/codemirror.css"> | ||
5 | <script src="../../lib/codemirror.js"></script> | ||
6 | <script src="tiki.js"></script> | ||
7 | <link rel="stylesheet" href="tiki.css"> | ||
8 | <link rel="stylesheet" href="../../doc/docs.css"> | ||
9 | <style type="text/css">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style> | ||
10 | </head> | ||
11 | <body style="padding: 20px;"> | ||
12 | <h1>CodeMirror: Tiki wiki mode</h1> | ||
13 | |||
14 | <div><textarea id="code" name="code"> | ||
15 | Headings | ||
16 | !Header 1 | ||
17 | !!Header 2 | ||
18 | !!!Header 3 | ||
19 | !!!!Header 4 | ||
20 | !!!!!Header 5 | ||
21 | !!!!!!Header 6 | ||
22 | |||
23 | Styling | ||
24 | -=titlebar=- | ||
25 | ^^ Box on multi | ||
26 | lines | ||
27 | of content^^ | ||
28 | __bold__ | ||
29 | ''italic'' | ||
30 | ===underline=== | ||
31 | ::center:: | ||
32 | --Line Through-- | ||
33 | |||
34 | Operators | ||
35 | ~np~No parse~/np~ | ||
36 | |||
37 | Link | ||
38 | [link|desc|nocache] | ||
39 | |||
40 | Wiki | ||
41 | ((Wiki)) | ||
42 | ((Wiki|desc)) | ||
43 | ((Wiki|desc|timeout)) | ||
44 | |||
45 | Table | ||
46 | ||row1 col1|row1 col2|row1 col3 | ||
47 | row2 col1|row2 col2|row2 col3 | ||
48 | row3 col1|row3 col2|row3 col3|| | ||
49 | |||
50 | Lists: | ||
51 | *bla | ||
52 | **bla-1 | ||
53 | ++continue-bla-1 | ||
54 | ***bla-2 | ||
55 | ++continue-bla-1 | ||
56 | *bla | ||
57 | +continue-bla | ||
58 | #bla | ||
59 | ** tra-la-la | ||
60 | +continue-bla | ||
61 | #bla | ||
62 | |||
63 | Plugin (standard): | ||
64 | {PLUGIN(attr="my attr")} | ||
65 | Plugin Body | ||
66 | {PLUGIN} | ||
67 | |||
68 | Plugin (inline): | ||
69 | {plugin attr="my attr"} | ||
70 | </textarea></div> | ||
71 | |||
72 | <script type="text/javascript"> | ||
73 | var editor = CodeMirror.fromTextArea(document.getElementById("code"), { | ||
74 | mode: 'tiki', | ||
75 | lineNumbers: true, | ||
76 | enterMode: 'keep', | ||
77 | matchBrackets: true | ||
78 | }); | ||
79 | </script> | ||
80 | |||
81 | </body> | ||
82 | </html> | ||