mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 16:13:57 +09:00
Add test for markdown footnotes
This commit is contained in:
@ -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
|
private partial class TestMarkdownContainer : WikiMarkdownContainer
|
||||||
{
|
{
|
||||||
public LinkInline Link;
|
public LinkInline Link;
|
||||||
|
Reference in New Issue
Block a user