diff --git a/BSIPA-ModList/UI/ViewControllers/MarkdownView.cs b/BSIPA-ModList/UI/ViewControllers/MarkdownView.cs index c4fc338b..a0bc87bb 100644 --- a/BSIPA-ModList/UI/ViewControllers/MarkdownView.cs +++ b/BSIPA-ModList/UI/ViewControllers/MarkdownView.cs @@ -19,7 +19,7 @@ using System.Text.RegularExpressions; namespace BSIPA_ModList.UI.ViewControllers { /// - /// A UI component that renders Markdown in-game. + /// A UI component that renders CommonMark Markdown in-game. /// [RequireComponent(typeof(RectTransform))] public class MarkdownView : MonoBehaviour @@ -35,6 +35,14 @@ namespace BSIPA_ModList.UI.ViewControllers private string markdown = ""; private bool mdDirty = false; + + /// + /// The text to be rendered. + /// + /// + /// When this is assigned, the object is marked dirty. It will re-render on the next Update tick. + /// + /// the text to render as Markdown public string Markdown { get => markdown;