mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 09:42:54 +08:00
add WikiMarkdownContainer
This commit is contained in:
parent
728258d93a
commit
ce8b2c1e37
15
osu.Game/Overlays/Wiki/Markdown/WikiMarkdownContainer.cs
Normal file
15
osu.Game/Overlays/Wiki/Markdown/WikiMarkdownContainer.cs
Normal file
@ -0,0 +1,15 @@
|
||||
// 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 osu.Game.Graphics.Containers.Markdown;
|
||||
|
||||
namespace osu.Game.Overlays.Wiki.Markdown
|
||||
{
|
||||
public class WikiMarkdownContainer : OsuMarkdownContainer
|
||||
{
|
||||
public string CurrentPath
|
||||
{
|
||||
set => Schedule(() => DocumentUrl += $"wiki/{value}");
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user