mirror of
https://github.com/xoofx/markdig.git
synced 2026-10-09 23:27:28 +00:00
29 lines
505 B
C#
29 lines
505 B
C#
using System;
|
|
using System.IO;
|
|
using NUnit.Framework;
|
|
using Textamina.Markdig.Parsers;
|
|
|
|
namespace Textamina.Markdig.Tests
|
|
{
|
|
[TestFixture]
|
|
public class TestTableParser
|
|
{
|
|
[Test]
|
|
public void TestSimple()
|
|
{
|
|
var reader = new StringReader(@"
|
|
|a|b
|
|
|-|-|-
|
|
|0|1|2|3
|
|
|A|B
|
|
|
|
");
|
|
// var reader = new StringReader(@"> > toto tata
|
|
//> titi toto
|
|
//");
|
|
|
|
var result = Markdown.Convert(reader);
|
|
Console.WriteLine(result);
|
|
}
|
|
}
|
|
} |