Parent: [c11e9c] (diff)

Download this file

markdown_syntax.html    36 lines (26 with data), 740 Bytes

 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
{% extends g.theme.master %}
{% block title %}{{c.project.name}} / {{c.app.config.options.mount_label}} / Markdown Syntax{% endblock %}
{% block header %}Markdown Syntax{% endblock %}
{% block content %}
<p>You can use
<a href="http://daringfireball.net/projects/markdown/">MarkDown</a>
Syntax here</p>
{% set sample = '''\
# First-level heading
* *emphasized*,
* **strong**,
* and <s>strike-thru</s> text
#### Fourth-level heading
'''
%}
<h4>Example Input</h4>
<pre style="background-color:#fff">
{{sample}}
</pre>
<hr />
<h4>Example Rendering</h4>
<div style="background-color:#fff">
{{g.markdown.convert(sample)}}
</div>
<p><a href="http://daringfireball.net/projects/markdown/syntax">More Examples</a></p>
{% endblock %}