Fossil SCM

Show all possible heading styles in Markdown reference. Expand table example to more closely resemble typical usage.

andygoth 2017-09-22 18:10 trunk
Commit 02403f0647b16c007f08d279573ec408e8d685e992882ab26c04f2fc53a0ea73
1 file changed +15 -8
+15 -8
--- src/markdown.md
+++ src/markdown.md
@@ -6,15 +6,20 @@
66
> End a line with two or more spaces to force a mid-paragraph line break.
77
88
## Headings ##
99
1010
>
11
- # Top-level Heading Alternative Top Level Heading
12
- # Top-level Heading Variant # =============================
11
+ # Top Level Heading Alternative Top Level Heading
12
+ # Top Level Heading Variant # =============================
13
+>
14
+ ## 2nd Level Heading Alternative 2nd Level Heading
15
+ ## 2nd Level Heading Variant ## -----------------------------
1316
>
14
- ## Second-level Heading Alternative 2nd Level Heading
15
- ## Second-level Heading Variant ## -----------------------------
17
+ ### 3rd Level Heading ### 3rd Level Heading Variant ###
18
+ #### 4th Level Heading #### 4th Level Heading Variant ####
19
+ ##### 5th Level Heading ##### 5th Level Heading Variant #####
20
+ ###### 6th Level Heading ###### 6th Level Heading Variant ######
1621
1722
## Links ##
1823
1924
> 1. **\[display text\]\(URL\)**
2025
> 2. **\[display text\]\(URL "Title"\)**
@@ -75,14 +80,16 @@
7580
> code block.
7681
7782
## Tables ##
7883
7984
>
80
- | Header 1 | Header 2 | Header 3 |
81
- --------------------------------------------
82
- |:Left-aligned |:Centered :| Right-aligned:|
83
- | | ← Blank → | |
85
+ | Header 1 | Header 2 | Header 3 |
86
+ ----------------------------------------------
87
+ | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 |
88
+ |:Left-aligned |:Centered :| Right-aligned:|
89
+ | | ← Blank → | |
90
+ | Row 4 Col 1 | Row 4 Col 2 | Row 4 Col 3 |
8491
8592
> The first row is a header if followed by a horizontal rule or a blank line.
8693
8794
> Placing **:** at the left, both, or right sides of a cell gives left-aligned,
8895
> centered, or right-aligned text, respectively. By default, header cells are
8996
--- src/markdown.md
+++ src/markdown.md
@@ -6,15 +6,20 @@
6 > End a line with two or more spaces to force a mid-paragraph line break.
7
8 ## Headings ##
9
10 >
11 # Top-level Heading Alternative Top Level Heading
12 # Top-level Heading Variant # =============================
 
 
 
13 >
14 ## Second-level Heading Alternative 2nd Level Heading
15 ## Second-level Heading Variant ## -----------------------------
 
 
16
17 ## Links ##
18
19 > 1. **\[display text\]\(URL\)**
20 > 2. **\[display text\]\(URL "Title"\)**
@@ -75,14 +80,16 @@
75 > code block.
76
77 ## Tables ##
78
79 >
80 | Header 1 | Header 2 | Header 3 |
81 --------------------------------------------
82 |:Left-aligned |:Centered :| Right-aligned:|
83 | | ← Blank → | |
 
 
84
85 > The first row is a header if followed by a horizontal rule or a blank line.
86
87 > Placing **:** at the left, both, or right sides of a cell gives left-aligned,
88 > centered, or right-aligned text, respectively. By default, header cells are
89
--- src/markdown.md
+++ src/markdown.md
@@ -6,15 +6,20 @@
6 > End a line with two or more spaces to force a mid-paragraph line break.
7
8 ## Headings ##
9
10 >
11 # Top Level Heading Alternative Top Level Heading
12 # Top Level Heading Variant # =============================
13 >
14 ## 2nd Level Heading Alternative 2nd Level Heading
15 ## 2nd Level Heading Variant ## -----------------------------
16 >
17 ### 3rd Level Heading ### 3rd Level Heading Variant ###
18 #### 4th Level Heading #### 4th Level Heading Variant ####
19 ##### 5th Level Heading ##### 5th Level Heading Variant #####
20 ###### 6th Level Heading ###### 6th Level Heading Variant ######
21
22 ## Links ##
23
24 > 1. **\[display text\]\(URL\)**
25 > 2. **\[display text\]\(URL "Title"\)**
@@ -75,14 +80,16 @@
80 > code block.
81
82 ## Tables ##
83
84 >
85 | Header 1 | Header 2 | Header 3 |
86 ----------------------------------------------
87 | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 |
88 |:Left-aligned |:Centered :| Right-aligned:|
89 | | ← Blank → | |
90 | Row 4 Col 1 | Row 4 Col 2 | Row 4 Col 3 |
91
92 > The first row is a header if followed by a horizontal rule or a blank line.
93
94 > Placing **:** at the left, both, or right sides of a cell gives left-aligned,
95 > centered, or right-aligned text, respectively. By default, header cells are
96

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button