1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 01:02:56 +08:00

Add test for markdown footnotes

This commit is contained in:
Bartłomiej Dach 2022-12-16 20:57:27 +01:00
parent b42accb763
commit 6e55f2f779
No known key found for this signature in database

View File

@ -199,6 +199,17 @@ Line after image";
});
}
[Test]
public void TestFootnotes()
{
AddStep("set content", () => markdownContainer.Text = @"This text has a footnote[^test].
Here's some more text[^test2] with another footnote!
[^test]: This is a **footnote**.
[^test2]: This is another footnote [with a link](https://google.com/)!");
}
private partial class TestMarkdownContainer : WikiMarkdownContainer
{
public LinkInline Link;