mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-16 00:42:51 +08:00

* Add constants for emojis * Move emoji shortcode rendering to Markup * Add documentation * Add example * Add tests
18 lines
381 B
C#
18 lines
381 B
C#
using System;
|
|
using Spectre.Console;
|
|
|
|
namespace Emojis
|
|
{
|
|
public static class Program
|
|
{
|
|
public static void Main(string[] args)
|
|
{
|
|
// Markup
|
|
AnsiConsole.Render(
|
|
new Panel("[yellow]Hello :globe_showing_europe_africa:![/]")
|
|
.RoundedBorder()
|
|
.SetHeader("Markup"));
|
|
}
|
|
}
|
|
}
|