1 {% extends "base.html" %}
6 {% block fulltitle %}{% spaceless %}{% trans "Markdown Help" %}{% endspaceless %}{% endblock %}
9 <link rel="stylesheet" type="text/css" media="all" href="{% media "/media/style/markdown_help.css" %}" />
13 <div id="main-wrapper"><br /><br />
15 <h1>Markdown Syntax</h1>
16 <p>This document describes some of the more important parts of Markdown (for writers, that is). There's a lot more to the syntax than is mentioned here, though. To get the full syntax documentation, go to John Gruber's <a href="http://daringfireball.net/projects/markdown/syntax" rel="nofollow">Markdown Syntax</a> page</p>
20 <h2 class="section-title">Headers</h2>
21 <div class="section-description">
22 For top-level headers underline the text with equal signs. For second-level headers use dashes to underline.
24 <table class="section-example"><tr>
26 <code>This is an H1 </code><br />
27 <code>============= </code>
30 <h1>This is an H1</h1>
34 <table class="section-example"><tr>
36 <code>This is an H2</code><br />
37 <code>-------------</code>
40 <h2>This is an H2</h2>
44 <div class="section-description">
45 If you would rather, you can prefix headers with a hash (#) symbol instead. The number of hash symbols indicates the header level. For example, a single hash indicates a header level of one while two indicates the second header level:
47 <table class="section-example"><tr>
49 <code># This is H1</code>
52 <h1>This is an H1</h1>
56 <table class="section-example"><tr>
58 <code>## This is H2</code>
61 <h2>This is an H2</h2>
65 <table class="section-example"><tr>
67 <code>### This is H3</code>
70 <h3>This is an H3</h3>
74 <div class="section-description">
75 Which you choose is a matter of style. Whichever you thinks looks better in the text document. In both cases, the final, fully formatted, document looks the same.
80 <h2 class="section-title">Paragraphs</h2>
81 <div class="section-description">
82 Paragraphs are surrounded by blank lines.
84 <div class="section-example">
85 <code>This is paragraph one.</code>
87 <div class="section-example">
88 <code>This is paragraph two.</code>
93 <h2 class="section-title">Links</h2>
94 <div class="section-description">
95 There are two parts to every link.
96 The first is the actual text that the user will see and it is surrounded by brackets.
97 The second is address of the page you wish to link to and it is surrounded in parenthesis.
99 <table class="section-example"><tr>
101 <code>[link text](http://example.com/)</code>
109 <div class="section">
110 <h2 class="section-title">Formatting</h2>
111 <div class="section-description">
112 To indicate bold text surround the text with two star (*) symbols or two underscore (_) symbols:
114 <table class="section-example"><tr>
116 <code>**This is bold**</code>
119 <strong>This is bold</strong>
122 <table class="section-example"><tr>
124 <code>__This is also bold__</code>
127 <strong>This is also bold</strong>
131 <div class="section-description">
132 To indicate italicized text surround the text with a single star (*) symbol or underscore (_) symbol:
134 <table class="section-example"><tr>
136 <code>*This is italics*</code>
139 <i>This is italics</i>
142 <table class="section-example"><tr>
144 <code>_This is also italics_</code>
147 <i>This is also italics</i>
151 <div class="section-description">
152 To indicate italicized and bold text surround the text with three star (*) symbol or underscore (_) symbol:
154 <table class="section-example"><tr>
156 <code>***This is bold and italics***</code>
159 <strong><i>This is italics</i></strong>
162 <table class="section-example"><tr>
164 <code>___This is also bold and italics___</code>
167 <strong><i>This is italics</i></strong>
173 <div class="section">
174 <h2 class="section-title">Blockquotes</h2>
175 <div class="section-description">
176 To create an indented area use the right angle bracket (>) character before each line to be included in the blockquote.
178 <table class="section-example"><tr>
180 <code>> This is part of a blockquote.</code><br />
181 <code>> This is part of the same blockquote.</code>
184 <p style="padding-left:15px;">This is part of a blockquote.<br />This is part of the same blockquote.</p>
188 <div class="section-description">
189 Rather than putting it in front of each line to include in the block quote you can put it at the beginning and end the quote with a newline.
191 <table class="section-example"><tr>
193 <code>> This is part of a blockquote.</code><br />
194 <code>This continues the blockquote even though there's no bracket.</code><br /><br />
195 <code>The blank line ends the blockquote.</code>
198 <p style="padding-left:15px;">This is part of a blockquote. <br /> This continues the blockquote even though there's no bracket.</p>
199 <p>The blank line ends the blockquote.</p>
204 <div class="section">
205 <h2 class="section-title">Lists</h2>
206 <div class="section-description">
207 To create a numbered list in Markdown, prefix each item in the list with a number followed by a period and space. The number you use actually doesn't matter.
209 <table class="section-example"><tr>
211 <code>1. Item 1</code><br />
212 <code>2. Item 2</code><br />
213 <code>3. Item 3</code>
224 <div class="section-description">
225 To create a bulleted list, prefix each item in the list with a star (*) character.
227 <table class="section-example"><tr>
229 <code>* A list item</code><br />
230 <code>* Another list item</code><br />
231 <code>* A third list item</code>
236 <li>Another list item</li>
237 <li>A third list item</li>
243 <div class="section">
244 <h2 class="section-title">A Lot More</h2>
245 <div class="section-description">There's a lot more to the Markdown syntax than is mentioned here. But for creative writers, this covers a lot of the necessities. To find out more about Markdown than you'd ever want to really know, <a href="http://daringfireball.net/projects/markdown/syntax" target="_blank" rel="nofollow">go to the Markdown page where it all started</a>.</div>