Commit | Line | Data |
---|---|---|
957d38e8 AT |
1 | Markdown Test |
2 | ============= | |
3 | ||
4 | This 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 | ||
8 | Code Blocks | |
9 | =========== | |
10 | ||
11 | Inline `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 | ||
19 | Headers | |
20 | ======= | |
21 | ||
22 | # Header 1 | |
23 | ## Header 2 | |
24 | ### Header 3 | |
25 | #### Header 4 | |
26 | ##### Header 5 | |
27 | ###### Header 6 | |
28 | ||
29 | Alternate H1 | |
30 | ============ | |
31 | ||
32 | Alternate H2 | |
33 | ------------ | |
34 | ||
35 | --- | |
36 | ||
37 | Text Decorations | |
38 | ================ | |
39 | ||
40 | Italic emphasis is implemented with *asterisks* or _underscores_. | |
41 | ||
42 | Bold emphasis uses **double asterisks** or __double underscores__. | |
43 | ||
44 | These __*can* be__ *combined*. | |
45 | ||
46 | Strikethroughs use double ~~squigglies~~ tildes. | |
47 | ||
48 | --- | |
49 | ||
50 | Lists | |
51 | ===== | |
52 | ||
53 | 1. Lists can be both ordered or unordered. | |
54 | * This includes sublists | |
55 | * and mixed combinations | |
56 | 2. 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 | ||
60 | 3. And the list continues after the paragraph. | |
61 | 2. Note that the raw number is irrelevant; the markdown processor renumbers the list. | |
62 | ||
63 | --- | |
64 | ||
65 | Links | |
66 | ===== | |
67 | ||
68 | Links 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 | ||
76 | The link definition can be separate from the declaration. | |
77 | ||
78 | [REFTEXT]: http://werc.subgeniuskitty.com | |
79 | [1]: http://werc.subgeniuskitty.com | |
80 | ||
81 | --- | |
82 | ||
83 | Images | |
84 | ====== | |
85 | ||
86 | Inline style: | |
87 | ||
88 | ![alt text](/pub/images/test_img.png) | |
89 | ||
90 | Reference style: | |
91 | ||
92 | ![alt text][testimg] | |
93 | ||
94 | [testimg]: /pub/images/test_img.png | |
95 | ||
96 | --- | |
97 | ||
98 | Tables | |
99 | ====== | |
100 | ||
101 | Tables 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 | ||
110 | Block Quotes | |
111 | ============ | |
112 | ||
113 | > Block quotes can be inserted with a '> ' prefix. | |
114 | ||
115 | They can be separated by normal text. | |
116 | ||
117 | > And then continue again. | |
118 |