21 references to NormalizeContent
aspire (1)
Documentation\Docs\DocsIndexService.cs (1)
448
content =
NormalizeContent
(content);
Aspire.Cli.Tests (20)
Mcp\Docs\DocsIndexServiceTests.cs (20)
1415
var result = DocsIndexService.
NormalizeContent
("");
1422
var result = DocsIndexService.
NormalizeContent
(" ");
1429
var result = DocsIndexService.
NormalizeContent
("line1\r\nline2\rline3\nline4");
1441
var result = DocsIndexService.
NormalizeContent
("Some text ## Heading\nMore text");
1454
var result = DocsIndexService.
NormalizeContent
("Before [Section titled Overview](#overview) After");
1465
var result = DocsIndexService.
NormalizeContent
("Some text 1. First item");
1475
var result = DocsIndexService.
NormalizeContent
("Some text * List item");
1485
var result = DocsIndexService.
NormalizeContent
("""
1503
var result = DocsIndexService.
NormalizeContent
("line1 \nline2\t\nline3");
1514
var result = DocsIndexService.
NormalizeContent
("""
1535
var result = DocsIndexService.
NormalizeContent
(input);
1551
var result = DocsIndexService.
NormalizeContent
("""Text ```csharp Console.WriteLine("hello");``` more""");
1564
var result = DocsIndexService.
NormalizeContent
("Text |Col1|Col2|Col3| |---|---|---| |A|B|C|");
1576
var result = DocsIndexService.
NormalizeContent
("\n\n Hello world \n\n");
1595
var result = DocsIndexService.
NormalizeContent
(input);
1619
var result = DocsIndexService.
NormalizeContent
("Header text |Col1|Col2| |---|---| |A|B| Footer text");
1633
var result = DocsIndexService.
NormalizeContent
("Intro text 1. First 2. Second\nFollowing paragraph");
1646
var result = DocsIndexService.
NormalizeContent
("Intro text * Item one * Item two\nFollowing paragraph");
1659
var result = DocsIndexService.
NormalizeContent
("Intro 1. First * Sub A * Sub B 2. Second\nFollowing paragraph");
1674
var result = DocsIndexService.
NormalizeContent
("Intro * Bash ```bash echo hello``` * PowerShell ```powershell Write-Host hello``` Done.");