A game framework written with osu! in mind.

handle autolink in markdown text flow container

+7
+7
osu.Framework/Graphics/Containers/Markdown/MarkdownTextFlowContainer.cs
··· 108 AddInlineText(innerContainer); 109 break; 110 111 default: 112 AddNotImplementedInlineText(single); 113 break; ··· 123 124 protected virtual void AddLinkText(string text, LinkInline linkInline) 125 => AddDrawable(new MarkdownLinkText(text, linkInline)); 126 127 protected virtual void AddCodeInLine(CodeInline codeInline) 128 => AddText(codeInline.Content, t => { t.Colour = Color4.Orange; });
··· 108 AddInlineText(innerContainer); 109 break; 110 111 + case AutolinkInline autoLink: 112 + AddAutoLink(autoLink); 113 + break; 114 + 115 default: 116 AddNotImplementedInlineText(single); 117 break; ··· 127 128 protected virtual void AddLinkText(string text, LinkInline linkInline) 129 => AddDrawable(new MarkdownLinkText(text, linkInline)); 130 + 131 + protected virtual void AddAutoLink(AutolinkInline autolinkInline) 132 + => AddDrawable(new MarkdownLinkText(autolinkInline)); 133 134 protected virtual void AddCodeInLine(CodeInline codeInline) 135 => AddText(codeInline.Content, t => { t.Colour = Color4.Orange; });