osu/osu.Game/Overlays/Wiki/Markdown/WikiMarkdownTextFlowContainer.cs
Gagah Pangeran Rosfatiputra ef707bd099
add WikiMarkdownImage
2021-05-02 22:02:06 +07:00

14 lines
477 B
C#

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using Markdig.Syntax.Inlines;
using osu.Game.Graphics.Containers.Markdown;
namespace osu.Game.Overlays.Wiki.Markdown
{
public class WikiMarkdownTextFlowContainer : OsuMarkdownTextFlowContainer
{
protected override void AddImage(LinkInline linkInline) => AddDrawable(new WikiMarkdownImage(linkInline));
}
}