Skip to content

Commit 9883d4b

Browse files
committed
Markdown - updates
1 parent 42b0689 commit 9883d4b

File tree

1 file changed

+23
-18
lines changed

1 file changed

+23
-18
lines changed

BlazorBootstrap.Demo.RCL/Components/Pages/Markdown/MarkdownDocumentation.razor

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
<SectionHeading Size="HeadingSize.H2" Text="Headers" PageUrl="@pageUrl" HashTagName="headers" />
1717
<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.
1919
</div>
2020
<Demo Type="typeof(Markdown_Demo_02_Headers)" Tabs="true" />
2121

@@ -27,23 +27,25 @@
2727

2828
<SectionHeading Size="HeadingSize.H2" Text="Blockquotes" PageUrl="@pageUrl" HashTagName="blockquotes" />
2929
<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.
3131
</div>
3232
<Demo Type="typeof(Markdown_Demo_04_Blockquotes)" Tabs="true" />
3333

3434
<SectionHeading Size="HeadingSize.H2" Text="Horizontal rules" PageUrl="@pageUrl" HashTagName="horizontal-rules" />
3535
<div class="mb-3">
36-
Add a horizontal rule with a line of `---`.
36+
Add a horizontal rule with a line of <code>---</code>.
3737
</div>
3838
<Demo Type="typeof(Markdown_Demo_05_Horizontal_Rules)" Tabs="true" />
3939

4040
<SectionHeading Size="HeadingSize.H2" Text="Emphasis (bold, italics, strikethrough)" PageUrl="@pageUrl" HashTagName="emphasis-bold-italics-strikethrough" />
4141
<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>
4749
</div>
4850
<Demo Type="typeof(Markdown_Demo_06_Emphasis_bold_italics_strikethrough)" Tabs="true" />
4951

@@ -53,23 +55,26 @@
5355

5456
<SectionHeading Size="HeadingSize.H2" Text="Tables" PageUrl="@pageUrl" HashTagName="tables" />
5557
<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>&lt;br /&gt;</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>
6265
</div>
6366
<Demo Type="typeof(Markdown_Demo_08_Tables_A_Example)" Tabs="true" />
6467
<div class="mb-3"></div>
6568
<Demo Type="typeof(Markdown_Demo_08_Tables_B_Custom_CssClass)" Tabs="true" />
6669

6770
<SectionHeading Size="HeadingSize.H2" Text="Lists" PageUrl="@pageUrl" HashTagName="lists" />
6871
<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>
7378
</div>
7479
<SectionHeading Size="HeadingSize.H3" Text="Ordered list" PageUrl="@pageUrl" HashTagName="ordered-list" />
7580
<div class="mb-3"></div>

0 commit comments

Comments
 (0)