From 1ff704d63c057f0fca37b27cf0259e3c5af7299f Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Mon, 29 Apr 2024 16:11:35 +0200 Subject: Allow inlining italics --- src/test/kotlin/moe/nea/blog/md/test/TestItalics.kt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/test/kotlin/moe/nea/blog/md') diff --git a/src/test/kotlin/moe/nea/blog/md/test/TestItalics.kt b/src/test/kotlin/moe/nea/blog/md/test/TestItalics.kt index dee92bd..01bd49e 100644 --- a/src/test/kotlin/moe/nea/blog/md/test/TestItalics.kt +++ b/src/test/kotlin/moe/nea/blog/md/test/TestItalics.kt @@ -14,6 +14,12 @@ class TestItalics : MarkdownTest() { assertInlineFormat("both just italics", "***both** just italics*") } + @Test + fun testBeginningInTheMiddleOfTheWord() { + assertInlineFormat("inoneworditalic", "inoneword*italic*") + assertInlineFormat("multipleinoneworditalic", "*multiple*inoneword*italic*") + } + @Test fun otherMarkdownInItalics() { assertInlineFormat( -- cgit