diff options
author | Kruti Shah | 2012-07-17 12:40:00 -0700 |
---|---|---|
committer | Kruti Shah | 2012-07-17 12:40:00 -0700 |
commit | bf2d7bdb22c28089dc1067bc9094ebc590daac87 (patch) | |
tree | 2156d9920ea1b7db49ed6460545fea7cda121bae /imports/codemirror/mode/tiki/index.html | |
parent | 7e2c2dbd040ed79a3f0678f91bd4b6db9cf69231 (diff) | |
parent | b4b3e45d6684e77d361b4f8ca5be4889428320c5 (diff) | |
download | ninja-bf2d7bdb22c28089dc1067bc9094ebc590daac87.tar.gz |
Merge branch 'refs/heads/TimelineUberJD' into Timeline-local-kruti
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> | ||