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,21 @@
namespace DiscordChatExporter.Core.Markdown
{
public class EmojiNode : Node
{
public string Id { get; }
public string Name { get; }
public bool IsAnimated { get; }
public EmojiNode(string lexeme, string id, string name, bool isAnimated)
: base(lexeme)
{
Id = id;
Name = name;
IsAnimated = isAnimated;
}
public override string ToString() => $"<Emoji> {Name}";
}
}