14 lines
330 B
C#
14 lines
330 B
C#
using Robust.Client.UserInterface.Controls;
|
|
using Robust.Shared.Utility;
|
|
|
|
namespace Content.Client.Message;
|
|
|
|
public static class RichTextLabelExt
|
|
{
|
|
public static RichTextLabel SetMarkup(this RichTextLabel label, string markup)
|
|
{
|
|
label.SetMessage(FormattedMessage.FromMarkup(markup));
|
|
return label;
|
|
}
|
|
}
|