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: CommunityToolkit.Labs.Core.SourceGenerators.Tests/CommunityToolkit.Labs.Core.SourceGenerators.Tests/ToolkitSampleMetadataTests.Documentation.cs
+58-2Lines changed: 58 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,8 @@ Without any front matter.
48
48
[DataRow(4,DisplayName="Keywords")]
49
49
[DataRow(7,DisplayName="Category")]
50
50
[DataRow(8,DisplayName="Subcategory")]
51
+
[DataRow(9,DisplayName="GitHub Discussion Id")]
52
+
[DataRow(10,DisplayName="GitHub Issue Id")]
51
53
[TestMethod]
52
54
publicvoidMissingFrontMatterField(intremoveline)
53
55
{
@@ -60,6 +62,8 @@ public void MissingFrontMatterField(int removeline)
60
62
- csharp
61
63
category: Controls
62
64
subcategory: Layout
65
+
discussion-id: 0
66
+
issue-id: 0
63
67
---
64
68
# This is some test documentation...
65
69
> [!SAMPLE Sample]
@@ -85,6 +89,8 @@ public void MarkdownInvalidSampleReference()
85
89
- csharp
86
90
category: Controls
87
91
subcategory: Layout
92
+
discussion-id: 0
93
+
issue-id: 0
88
94
---
89
95
# This is some test documentation...
90
96
> [!SAMPLE SampINVALIDle]
@@ -108,9 +114,11 @@ public void DocumentationMissingSample()
Copy file name to clipboardExpand all lines: CommunityToolkit.Labs.Shared/Renderers/Markdown/MarkdownTextBlock.cs
+78-2Lines changed: 78 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -16,20 +16,96 @@
16
16
#endif
17
17
#endif
18
18
19
+
#if __WASM__
20
+
usingMarkdig;
21
+
usingUno.Foundation.Interop;
22
+
usingUno.UI.Runtime.WebAssembly;
23
+
#endif
24
+
19
25
namespaceCommunityToolkit.Labs.Shared.Renderers;
20
26
21
27
/// <summary>
22
28
/// Provide an abstraction around the Toolkit MarkdownTextBlock for both UWP and WinUI 3 in the same namespace (until 8.0) as well as a polyfill for WebAssembly/WASM.
0 commit comments