You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-21Lines changed: 18 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,38 +8,37 @@ This guide details the initial setup and basic usage of the [SfMarkdownViewer]()
8
8
2. Add an [SfMarkdownViewer]() instance to your page.
9
9
3. To display Markdown content, assign a string to the `Source` property of the SfMarkdownViewer control. This string can contain standard Markdown syntax such as headings, bold text, lists, and images.
10
10
11
-
{% tabs %}
12
-
{% highlight xaml %}
11
+
#### XAML
13
12
13
+
```xaml
14
14
<markdown:SfMarkdownViewer>
15
15
<markdown:SfMarkdownViewer.Source>
16
16
<x:String>
17
17
<![CDATA[
18
-
# What is Markdown Viewer?
19
-
Markdown View is a UI control in .NET MAUI that allows developers to render Markdown content with full formatting support. It is designed to work efficiently across both mobile and desktop platforms. The viewer supports headings, bold and italic text, lists, tables, images, code blocks, etc.
18
+
# What is Markdown Viewer?
19
+
Markdown View is a UI control in .NET MAUI that allows developers to render Markdown content with full formatting support. It is designed to work efficiently across both mobile and desktop platforms. The viewer supports headings, bold and italic text, lists, tables, images, code blocks, etc.
20
20
21
-
# Header 1
22
-
Used for the main title or top-level heading in a Markdown document.
21
+
# Header 1
22
+
Used for the main title or top-level heading in a Markdown document.
23
23
24
-
## Header 2
25
-
Used to define major sections within your Markdown content.
24
+
## Header 2
25
+
Used to define major sections within your Markdown content.
26
26
27
-
## Table
27
+
## Table
28
28
29
-
| | Column 1 | Column 2 | Column 3 |
30
-
|--------------|----------|----------|----------|
31
-
| Row 1 | Content | Content | Content |
32
-
| Row 2 | Content | Content | Content |
33
-
| Row 3 | Content | Content | Content |
29
+
| | Column 1 | Column 2 | Column 3 |
30
+
|--------------|----------|----------|----------|
31
+
| Row 1 | Content | Content | Content |
32
+
| Row 2 | Content | Content | Content |
33
+
| Row 3 | Content | Content | Content |
34
34
]]>
35
35
</x:String>
36
36
</markdown:SfMarkdownViewer.Source>
37
37
</markdown:SfMarkdownViewer>
38
+
```
39
+
#### C#
38
40
39
-
{% endhighlight %}
40
-
41
-
{% highlight C# %}
42
-
41
+
```C#
43
42
publicpartialclassMainPage : ContentPage
44
43
{
45
44
privateconststringmarkdownContent=@"# What is Markdown Viewer?
@@ -67,9 +66,7 @@ This guide details the initial setup and basic usage of the [SfMarkdownViewer]()
0 commit comments