aboutsummaryrefslogtreecommitdiff
path: root/src/Formats
diff options
context:
space:
mode:
Diffstat (limited to 'src/Formats')
-rw-r--r--src/Formats/KotlinWebsiteFormatService.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Formats/KotlinWebsiteFormatService.kt b/src/Formats/KotlinWebsiteFormatService.kt
index a5e9c022..3096c9de 100644
--- a/src/Formats/KotlinWebsiteFormatService.kt
+++ b/src/Formats/KotlinWebsiteFormatService.kt
@@ -23,6 +23,8 @@ public class KotlinWebsiteFormatService(locationService: LocationService,
override public fun formatCode(code: String): String = "<code>$code</code>"
+ override fun formatStrikethrough(text: String): String = "<s>$text</s>"
+
override fun formatLink(text: String, href: String): String {
return "<a href=\"${href}\">${text}</a>"
}