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:
parent
b42accb763
commit
6e55f2f779
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user