|
15 | 15 |
|
16 | 16 | <SectionHeading Size="HeadingSize.H2" Text="Headers" PageUrl="@pageUrl" HashTagName="headers" /> |
17 | 17 | <div class="mb-3"> |
18 | | - Use headers to structure your content. Start a line with `#` for a heading. Add more `#` characters for subheadings, up to six levels. |
| 18 | + Use headers to structure your content. Start a line with <code>#</code> for a heading. Add more <code>#</code> characters for subheadings, up to six levels. |
19 | 19 | </div> |
20 | 20 | <Demo Type="typeof(Markdown_Demo_02_Headers)" Tabs="true" /> |
21 | 21 |
|
|
27 | 27 |
|
28 | 28 | <SectionHeading Size="HeadingSize.H2" Text="Blockquotes" PageUrl="@pageUrl" HashTagName="blockquotes" /> |
29 | 29 | <div class="mb-3"> |
30 | | - Quote text with `>` before it. Use more `>` characters to nest quotes. For blocks of text, use `>` at the start of each line. |
| 30 | + Quote text with <code>></code> before it. Use more <code>></code> characters to nest quotes. For blocks of text, use <code>></code> at the start of each line. |
31 | 31 | </div> |
32 | 32 | <Demo Type="typeof(Markdown_Demo_04_Blockquotes)" Tabs="true" /> |
33 | 33 |
|
34 | 34 | <SectionHeading Size="HeadingSize.H2" Text="Horizontal rules" PageUrl="@pageUrl" HashTagName="horizontal-rules" /> |
35 | 35 | <div class="mb-3"> |
36 | | - Add a horizontal rule with a line of `---`. |
| 36 | + Add a horizontal rule with a line of <code>---</code>. |
37 | 37 | </div> |
38 | 38 | <Demo Type="typeof(Markdown_Demo_05_Horizontal_Rules)" Tabs="true" /> |
39 | 39 |
|
40 | 40 | <SectionHeading Size="HeadingSize.H2" Text="Emphasis (bold, italics, strikethrough)" PageUrl="@pageUrl" HashTagName="emphasis-bold-italics-strikethrough" /> |
41 | 41 | <div class="mb-3"> |
42 | | - Emphasize text with bold, italics, or strikethrough: <br /> |
43 | | - - Italics: `*text*` or `_text_` <br /> |
44 | | - - Bold: `**text**` <br /> |
45 | | - - Strikethrough: `~~text~~` <br /> |
46 | | - - Combine for more emphasis. |
| 42 | + Emphasize text with bold, italics, or strikethrough: |
| 43 | + <ul> |
| 44 | + <li>Italics: <code>*text*</code> or <code>_text_</code></li> |
| 45 | + <li>Bold: <code>**text**</code></li> |
| 46 | + <li>Strikethrough: <code>~~text~~</code></li> |
| 47 | + <li>Combine for more emphasis.</li> |
| 48 | + </ul> |
47 | 49 | </div> |
48 | 50 | <Demo Type="typeof(Markdown_Demo_06_Emphasis_bold_italics_strikethrough)" Tabs="true" /> |
49 | 51 |
|
|
53 | 55 |
|
54 | 56 | <SectionHeading Size="HeadingSize.H2" Text="Tables" PageUrl="@pageUrl" HashTagName="tables" /> |
55 | 57 | <div class="mb-3"> |
56 | | - Tables help organize structured data. <br /> |
57 | | - - Place each row on its own line. <br /> |
58 | | - - Separate cells with `|`. Escape `|` with `\|` if used within a cell. <br /> |
59 | | - - The first two lines set headers and alignment. <br /> |
60 | | - - Use `<br />` for new lines within a cell. <br /> |
61 | | - - End each row with a carriage return (CR) or line feed (LF). <br /> |
| 58 | + Tables help organize structured data. |
| 59 | + <ul> |
| 60 | + <li>Use <code>|</code> to separate cells.</li> |
| 61 | + <li>Escape <code>|</code> with <code>\|</code> if used within a cell.</li> |
| 62 | + <li>Use <code><br /></code> for new lines within a cell.</li> |
| 63 | + <li>End each row with a carriage return (CR) or line feed (LF).</li> |
| 64 | + </ul> |
62 | 65 | </div> |
63 | 66 | <Demo Type="typeof(Markdown_Demo_08_Tables_A_Example)" Tabs="true" /> |
64 | 67 | <div class="mb-3"></div> |
65 | 68 | <Demo Type="typeof(Markdown_Demo_08_Tables_B_Custom_CssClass)" Tabs="true" /> |
66 | 69 |
|
67 | 70 | <SectionHeading Size="HeadingSize.H2" Text="Lists" PageUrl="@pageUrl" HashTagName="lists" /> |
68 | 71 | <div class="mb-3"> |
69 | | - Use lists to organize related items: <br /> |
70 | | - - Ordered lists: start with a number followed by a period. <br /> |
71 | | - - Unordered lists: start with a `-`. <br /> |
72 | | - Begin each list item on a new line. |
| 72 | + Use lists to organize related items: |
| 73 | + <ul> |
| 74 | + <li>Ordered lists: start with a number followed by a period.</li> |
| 75 | + <li>Unordered lists: start with a <code>-</code>.</li> |
| 76 | + <li>Begin each list item on a new line.</li> |
| 77 | + </ul> |
73 | 78 | </div> |
74 | 79 | <SectionHeading Size="HeadingSize.H3" Text="Ordered list" PageUrl="@pageUrl" HashTagName="ordered-list" /> |
75 | 80 | <div class="mb-3"></div> |
|
0 commit comments