Added %%site_title%% template keyword.
[cmless] / site_sample / index.md
CommitLineData
957d38e8
AT
1Markdown Test
2=============
3
4This document contains at least one example of each valid markdown element. It is intended as a test for the markdown processor and as a reference for content creation.
5
6---
7
8Code Blocks
9===========
10
11Inline `code blocks` use the backtick key while
12
13 standalone code blocks use
14 four spaces at the start of
15 every line.
16
17---
18
19Headers
20=======
21
22# Header 1
23## Header 2
24### Header 3
25#### Header 4
26##### Header 5
27###### Header 6
28
29Alternate H1
30============
31
32Alternate H2
33------------
34
35---
36
37Text Decorations
38================
39
40Italic emphasis is implemented with *asterisks* or _underscores_.
41
42Bold emphasis uses **double asterisks** or __double underscores__.
43
44These __*can* be__ *combined*.
45
46Strikethroughs use double ~~squigglies~~ tildes.
47
48---
49
50Lists
51=====
52
531. Lists can be both ordered or unordered.
54 * This includes sublists
55 * and mixed combinations
562. It is even possible to embed regular paragraphs in a list element.
57
58 They require a leading, blank line and at least one leading space. We have used three spaces here to align the raw markdown.
59
603. And the list continues after the paragraph.
612. Note that the raw number is irrelevant; the markdown processor renumbers the list.
62
63---
64
65Links
66=====
67
68Links come in a variety of styles.
69
70* [Inline link](/)
71* [Inline link with title/reftext](/ "home")
72* [Reference with text][REFTEXT]
73* [Reference with number][1]
74* Triangular brackets can also define a link: <http://werc.subgeniuskitty.com>
75
76The link definition can be separate from the declaration.
77
78[REFTEXT]: http://werc.subgeniuskitty.com
79[1]: http://werc.subgeniuskitty.com
80
81---
82
83Images
84======
85
86Inline style:
87
88![alt text](/pub/images/test_img.png)
89
90Reference style:
91
92![alt text][testimg]
93
94[testimg]: /pub/images/test_img.png
95
96---
97
98Tables
99======
100
101Tables can be aligned with colons and inline markdown is allowed.
102
103| Left-align | Center-align | Right-align |
104| :--------- | :----------: | ----------------: |
105| *Italic* | **Bold** | **_Bold Italic_** |
106| And | `code` | `blocks` |
107
108---
109
110Block Quotes
111============
112
113> Block quotes can be inserted with a '> ' prefix.
114
115They can be separated by normal text.
116
117> And then continue again.
118