Implement a more sophisticated markdown parsing engine (#145)

This commit is contained in:
Alexey Golub
2019-03-03 14:16:12 +02:00
committed by GitHub
parent 88727a1fe6
commit f09f30c7bd
28 changed files with 563 additions and 307 deletions

View File

@@ -0,0 +1,18 @@
namespace DiscordChatExporter.Core.Markdown
{
public class MultilineCodeBlockNode : Node
{
public string Language { get; }
public string Code { get; }
public MultilineCodeBlockNode(string lexeme, string language, string code)
: base(lexeme)
{
Language = language;
Code = code;
}
public override string ToString() => $"<Code [{Language}]> {Code}";
}
}