1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210
|
<!DOCTYPE html>
<html lang="en">
<head>
<title>ok_markdown</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body>
<div class="container"><div class="navigation">
<ul><li><a href="AllUnits.html">Units</a></li><li><a href="ClassHierarchy.html">Class Hierarchy</a></li><li><a href="AllClasses.html">Classes, Interfaces, Objects and Records</a></li><li><a href="AllTypes.html">Types</a></li><li><a href="AllVariables.html">Variables</a></li><li><a href="AllConstants.html">Constants</a></li><li><a href="AllFunctions.html">Functions and Procedures</a></li><li><a href="AllIdentifiers.html">Identifiers</a></li></ul></div><div class="content">
<h1 class="unit">Unit ok_markdown</h1>
<div class="sections">
<div class="one_section"><a class="section" href="#PasDoc-Description">Description</a></div><div class="one_section">Uses</div><div class="one_section">Classes, Interfaces, Objects and Records</div><div class="one_section">Functions and Procedures</div><div class="one_section">Types</div><div class="one_section">Constants</div><div class="one_section">Variables</div></div>
<span id="PasDoc-Description"></span><h2 class="description">Description</h2>
<p>
<strong>This is a test of Markdown syntax</strong></p>
<p>
Correct lists
<p></p>
<ul class="paragraph_spacing">
<li><p>list item #1.1</p></li>
<li><p>list item #1.2</p></li>
</ul>
<p>end list
<p></p>
<ul class="paragraph_spacing">
<li><p>list item #2.1</p></li>
<li><p>list item #2.2</p></li>
</ul>
<p>end list
<p></p>
<ul class="paragraph_spacing">
<li><p>list item #3</p></li>
</ul>
<p>end list
<p></p>
<ul class="paragraph_spacing">
<li><p>list item #4</p></li>
</ul>
<p></p>
<ol class="paragraph_spacing">
<li value="1"><p>list item #5.1</p></li>
<li value="2"><p>list item #5.2</p></li>
<li value="3"><p>list item #5.10</p></li>
</ol>
<p>Simple list with multiline text
<p></p>
<ul class="paragraph_spacing">
<li><p>item 6.1 text text text</p></li>
<li><p>item 6.2
<p>item text</p></li>
</ul>
<p>end list
<p>List with nested list
<p></p>
<ul class="paragraph_spacing">
<li><p>item 7.1 text </p>
<ul class="paragraph_spacing">
<li><p>item 7.1.1 text</p></li>
</ul>
<p> text2</p></li>
</ul>
<p>List with more nesting
<p></p>
<ul class="paragraph_spacing">
<li><p>item 8.1 </p>
<ul class="paragraph_spacing">
<li><p>item 8.1.1 </p>
<ul class="paragraph_spacing">
<li><p>item 8.1.1.1</p></li>
</ul>
<p> text 8.1.1</p></li>
<li><p>item 8.1.2 </p>
<ul class="paragraph_spacing">
<li><p>item 8.1.2.1</p></li>
</ul>
<p></p></li>
</ul>
<p> text 8.1</p></li>
</ul>
<p>end list
<p>You can even mix markdown and PasDoc tags
<p></p>
<ul class="paragraph_spacing">
<li><p>list item #8.1</p></li>
<li><p>list item #8.2</p></li>
</ul>
<p>
<p>Incorrect lists
<p><em>not a list</em>
<p>1not a list
<p>1 not a list
<p>1.not a list
<p>Emphasis, aka italics, with <em>asterisks</em> or <em>underscores</em>.
<p>Strong emphasis, aka bold, with <strong>asterisks</strong> or <strong>underscores</strong>.
<p>Some <strong>bold text</strong>.
<p>Some <strong><em>bold and italic text</em></strong>.
<p>Some <strong>some bold and <em>italic</em> and <em>italic</em> and <em>italic once again</em> text</strong>.
<p>Some <em>italic text</em>.
<p>Some <strong>bold text with some tags: My name is <code>ok_markdown</code>, some <code>begin end</code> and a link to me: <a class="normal" href="ok_markdown.html">ok_markdown</a></strong>.
<p>\*markers could be escaped
<p><em>and also escaped at end\* of a word</em>
<p>or placed inside_word or placed_inside_word_multiple_times or at the end_
<p>Multiplications are OK: A*B*C*D and with spaces too: A * B * C * D
<p>underscore _ is used to name some deprecated thing: something_
<p>Some <code>inline code</code>, some <code><strong>formatting</strong> <em>inside</em> code</code>
<p>Some preformatted code:
<p></p>
<pre class="preformatted">
program Foo;
Some long code
with
syntax highlight</pre>
<p>
<p>Some Pascal code:
<p></p>
<pre class="longcode">
<span class="pascal_keyword">program</span> Foo;
Some long code
<span class="pascal_keyword">with</span>
syntax highlight</pre>
<p>
<p>Correct URLs:
<p><a href="http://example">Some one-line descr</a>
<p><a href="http://example">Some multi-line
descr</a>
<p><a href="http://example">Escaped [] descr</a>
<p><a href="http://example">\</a>
<p><a href="http://example">a\</a>
<p><a href="http://example/(foo)">Bracket URL</a>
<p>Incorrect URLs:
<p>(<a href="http://example">http://example</a>)
<p>[Some descr] (<a href="http://example">http://example</a>)
<p>[Some descr](<a href="http://example">http://example</a></p>
<span id="PasDoc-Uses"></span></div></div></body></html>
|