all repos — NoPaste @ ad688e0acc0360cf52f5ee4d90c4767d1804e7a3

Resurrected - The PussTheCat.org fork of NoPaste

scripts/CodeMirror/mode/tiki/index.html (view raw)

 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>.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>
12<div id=nav>
13  <a href="https://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../../doc/logo.png" alt=""></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">
31Headings
32!Header 1
33!!Header 2
34!!!Header 3
35!!!!Header 4
36!!!!!Header 5
37!!!!!!Header 6
38
39Styling
40-=titlebar=-
41^^ Box on multi
42lines
43of content^^
44__bold__
45''italic''
46===underline===
47::center::
48--Line Through--
49
50Operators
51~np~No parse~/np~
52
53Link
54[link|desc|nocache]
55
56Wiki
57((Wiki))
58((Wiki|desc))
59((Wiki|desc|timeout))
60
61Table
62||row1 col1|row1 col2|row1 col3
63row2 col1|row2 col2|row2 col3
64row3 col1|row3 col2|row3 col3||
65
66Lists:
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
79Plugin (standard):
80{PLUGIN(attr="my attr")}
81Plugin Body
82{PLUGIN}
83
84Plugin (inline):
85{plugin attr="my attr"}
86</textarea></div>
87
88<script>
89	var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
90        mode: 'tiki',      
91        lineNumbers: true
92    });
93</script>
94
95</article>