code cleaup
All checks were successful
Dotnet build and test / build (pull_request) Successful in 12m25s
All checks were successful
Dotnet build and test / build (pull_request) Successful in 12m25s
This commit is contained in:
parent
d5f11e83a4
commit
93fd4e61ad
3 changed files with 4 additions and 36 deletions
|
|
@ -1,34 +0,0 @@
|
|||
using DotMarkdown.Linq;
|
||||
using Markdig;
|
||||
using Xunit;
|
||||
using static DotMarkdown.Linq.MFactory;
|
||||
|
||||
|
||||
public class MarkdownTests
|
||||
{
|
||||
[Fact]
|
||||
public void TestMarkdownRendering()
|
||||
{
|
||||
MDocument document = Document(
|
||||
Heading1("Markdown Sample"),
|
||||
Heading2("Bullet List"),
|
||||
BulletList(
|
||||
"text",
|
||||
Bold("bold text")),
|
||||
HorizontalRule(),
|
||||
Heading2("IndentedCodeBlock"),
|
||||
IndentedCodeBlock("string s = null;"));
|
||||
|
||||
Console.WriteLine(document.ToString());
|
||||
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void TestAnotherMarkdownRendering()
|
||||
{
|
||||
var result = Markdown.ToHtml("This is a text with some *emphasis*");
|
||||
|
||||
|
||||
Console.WriteLine(result);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue