aboutsummaryrefslogtreecommitdiff
path: root/src/Formats/MarkdownFormatService.kt
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-01-09 20:59:58 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-01-09 20:59:58 +0100
commite17eaa5fbc296bab0f32e8169d50fea06a6de581 (patch)
treee8048ee2dc036209a632966daf5f948984371329 /src/Formats/MarkdownFormatService.kt
parent1a4794397f3e5db8dac12d1797edd16c121de21f (diff)
downloaddokka-e17eaa5fbc296bab0f32e8169d50fea06a6de581.tar.gz
dokka-e17eaa5fbc296bab0f32e8169d50fea06a6de581.tar.bz2
dokka-e17eaa5fbc296bab0f32e8169d50fea06a6de581.zip
nice rendering for deprecated members
Diffstat (limited to 'src/Formats/MarkdownFormatService.kt')
-rw-r--r--src/Formats/MarkdownFormatService.kt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Formats/MarkdownFormatService.kt b/src/Formats/MarkdownFormatService.kt
index 38fadf7a..a2e3ce55 100644
--- a/src/Formats/MarkdownFormatService.kt
+++ b/src/Formats/MarkdownFormatService.kt
@@ -46,6 +46,10 @@ public open class MarkdownFormatService(locationService: LocationService,
return "*$text*"
}
+ override fun formatStrikethrough(text: String): String {
+ return "~~$text~~"
+ }
+
override public fun formatLink(text: String, location: Location): String {
return "[$text](${location.path})"
}