aboutsummaryrefslogtreecommitdiff
path: root/core/src/test/kotlin/markdown
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/test/kotlin/markdown')
-rw-r--r--core/src/test/kotlin/markdown/ParserTest.kt12
1 files changed, 12 insertions, 0 deletions
diff --git a/core/src/test/kotlin/markdown/ParserTest.kt b/core/src/test/kotlin/markdown/ParserTest.kt
index 5a7adf05..b0ec68ff 100644
--- a/core/src/test/kotlin/markdown/ParserTest.kt
+++ b/core/src/test/kotlin/markdown/ParserTest.kt
@@ -86,6 +86,18 @@ number two
runTestFor("*text*")
}
+ @Test fun underscoresNoEmph() {
+ runTestFor("text_with_underscores")
+ }
+
+ @Test fun emphUnderscores() {
+ runTestFor("_text_")
+ }
+
+ @Test fun singleStar() {
+ runTestFor("Embedded*Star")
+ }
+
@Test fun directive() {
runTestFor("A text \${code with.another.value} with directive")
}