aboutsummaryrefslogtreecommitdiff
path: root/imports/codemirror/mode/tiki/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'imports/codemirror/mode/tiki/index.html')
-rw-r--r--imports/codemirror/mode/tiki/index.html82
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">
15Headings
16!Header 1
17!!Header 2
18!!!Header 3
19!!!!Header 4
20!!!!!Header 5
21!!!!!!Header 6
22
23Styling
24-=titlebar=-
25^^ Box on multi
26lines
27of content^^
28__bold__
29''italic''
30===underline===
31::center::
32--Line Through--
33
34Operators
35~np~No parse~/np~
36
37Link
38[link|desc|nocache]
39
40Wiki
41((Wiki))
42((Wiki|desc))
43((Wiki|desc|timeout))
44
45Table
46||row1 col1|row1 col2|row1 col3
47row2 col1|row2 col2|row2 col3
48row3 col1|row3 col2|row3 col3||
49
50Lists:
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
63Plugin (standard):
64{PLUGIN(attr="my attr")}
65Plugin Body
66{PLUGIN}
67
68Plugin (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>