|
11 | 11 |
|
12 | 12 | <SectionHeading Size="HeadingSize.H2" Text="Live preview" PageUrl="@pageUrl" HashTagName="live-preview" /> |
13 | 13 | <div class="mb-3"></div> |
14 | | -<Demo Type="typeof(Markdown_Demo_00_Preview)" Tabs="true" /> |
15 | | - |
16 | | -<SectionHeading Size="HeadingSize.H2" Text="Examples" PageUrl="@pageUrl" HashTagName="examples" /> |
17 | | -<div class="mb-3"></div> |
18 | | -<Demo Type="typeof(Markdown_Demo_01_Examples)" Tabs="true" /> |
| 14 | +<Demo Type="typeof(Markdown_Demo_01_Preview)" Tabs="true" /> |
19 | 15 |
|
20 | 16 | <SectionHeading Size="HeadingSize.H2" Text="Headers" PageUrl="@pageUrl" HashTagName="headers" /> |
21 | | -<div class="mb-3"></div> |
| 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. |
| 19 | +</div> |
22 | 20 | <Demo Type="typeof(Markdown_Demo_02_Headers)" Tabs="true" /> |
23 | 21 |
|
24 | 22 | <SectionHeading Size="HeadingSize.H2" Text="Paragraphs and line breaks" PageUrl="@pageUrl" HashTagName="paragraphs-and-line-breaks" /> |
25 | | -<div class="mb-3"></div> |
| 23 | +<div class="mb-3"> |
| 24 | + Break your text into paragraphs or line breaks for easier reading. |
| 25 | +</div> |
26 | 26 | <Demo Type="typeof(Markdown_Demo_03_Paragraphs_and_Line_Breaks)" Tabs="true" /> |
27 | 27 |
|
28 | 28 | <SectionHeading Size="HeadingSize.H2" Text="Blockquotes" PageUrl="@pageUrl" HashTagName="blockquotes" /> |
29 | | -<div class="mb-3"></div> |
| 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. |
| 31 | +</div> |
30 | 32 | <Demo Type="typeof(Markdown_Demo_04_Blockquotes)" Tabs="true" /> |
31 | 33 |
|
32 | 34 | <SectionHeading Size="HeadingSize.H2" Text="Horizontal rules" PageUrl="@pageUrl" HashTagName="horizontal-rules" /> |
33 | | -<div class="mb-3"></div> |
| 35 | +<div class="mb-3"> |
| 36 | + Add a horizontal rule with a line of `---`. |
| 37 | +</div> |
34 | 38 | <Demo Type="typeof(Markdown_Demo_05_Horizontal_Rules)" Tabs="true" /> |
35 | 39 |
|
36 | 40 | <SectionHeading Size="HeadingSize.H2" Text="Emphasis (bold, italics, strikethrough)" PageUrl="@pageUrl" HashTagName="emphasis-bold-italics-strikethrough" /> |
37 | | -<div class="mb-3"></div> |
| 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. |
| 47 | +</div> |
38 | 48 | <Demo Type="typeof(Markdown_Demo_06_Emphasis_bold_italics_strikethrough)" Tabs="true" /> |
39 | 49 |
|
40 | 50 | <SectionHeading Size="HeadingSize.H2" Text="Code highlighting" PageUrl="@pageUrl" HashTagName="code-highlighting" /> |
41 | 51 | <div class="mb-3"></div> |
42 | 52 | <Demo Type="typeof(Markdown_Demo_07_Code_Highlighting)" Tabs="true" /> |
43 | 53 |
|
44 | 54 | <SectionHeading Size="HeadingSize.H2" Text="Tables" PageUrl="@pageUrl" HashTagName="tables" /> |
45 | | -<div class="mb-3"></div> |
| 55 | +<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 /> |
| 62 | +</div> |
46 | 63 | <Demo Type="typeof(Markdown_Demo_08_Tables_A_Example)" Tabs="true" /> |
47 | 64 | <div class="mb-3"></div> |
48 | 65 | <Demo Type="typeof(Markdown_Demo_08_Tables_B_Custom_CssClass)" Tabs="true" /> |
49 | 66 |
|
50 | 67 | <SectionHeading Size="HeadingSize.H2" Text="Lists" PageUrl="@pageUrl" HashTagName="lists" /> |
| 68 | +<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. |
| 73 | +</div> |
51 | 74 | <SectionHeading Size="HeadingSize.H3" Text="Ordered list" PageUrl="@pageUrl" HashTagName="ordered-list" /> |
52 | 75 | <div class="mb-3"></div> |
53 | 76 | <Demo Type="typeof(Markdown_Demo_09_Lists_A_Ordered)" Tabs="true" /> |
|
72 | 95 | <div class="mb-3"></div> |
73 | 96 | <Demo Type="typeof(Markdown_Demo_11_Images)" Tabs="true" /> |
74 | 97 |
|
| 98 | +<SectionHeading Size="HeadingSize.H2" Text="Examples" PageUrl="@pageUrl" HashTagName="examples" /> |
| 99 | +<div class="mb-3"></div> |
| 100 | +<Demo Type="typeof(Markdown_Demo_99_Examples)" Tabs="true" /> |
| 101 | + |
75 | 102 | @code{ |
76 | 103 | private string pageUrl = "/markdown"; |
77 | 104 | private string title = "Blazor Markdown Component"; |
|
0 commit comments