Files
markdig/src/Textamina.Markdig.Tests/TestTableParser.cs

29 lines
505 B
C#
Raw Normal View History

2016-02-28 23:16:00 +09:00
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
2016-02-28 23:16:00 +09:00
");
// var reader = new StringReader(@"> > toto tata
//> titi toto
//");
2016-02-29 23:59:45 +09:00
var result = Markdown.Convert(reader);
2016-02-28 23:16:00 +09:00
Console.WriteLine(result);
}
}
}