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

@@ -1,6 +1,6 @@
using System;
using System.Drawing;
using Tyrrrz.Extensions;
using System.Net;
namespace DiscordChatExporter.Core.Internal
{
@@ -14,10 +14,8 @@ namespace DiscordChatExporter.Core.Internal
return value.ToString();
}
public static string Base64Encode(this string str) => str.GetBytes().ToBase64();
public static string Base64Decode(this string str) => str.FromBase64().GetString();
public static Color ResetAlpha(this Color color) => Color.FromArgb(1, color);
public static string HtmlEncode(this string value) => WebUtility.HtmlEncode(value);
}
}