mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-12-27 11:25:47 +08:00
Update emoji support
* Add constants for emojis * Move emoji shortcode rendering to Markup * Add documentation * Add example * Add tests
This commit is contained in:
committed by
Patrik Svensson
parent
090b30f731
commit
eeb3f967b6
@@ -3,9 +3,9 @@ using System.Text.RegularExpressions;
|
||||
namespace Spectre.Console
|
||||
{
|
||||
/// <summary>
|
||||
/// Utility class for working with emojis.
|
||||
/// Utility for working with emojis.
|
||||
/// </summary>
|
||||
internal static partial class Emoji
|
||||
public static partial class Emoji
|
||||
{
|
||||
private static readonly Regex _emojiCode = new Regex(@"(:(\S*?):)", RegexOptions.Compiled);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user