diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-01-09 20:59:58 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-01-09 20:59:58 +0100 |
commit | e17eaa5fbc296bab0f32e8169d50fea06a6de581 (patch) | |
tree | e8048ee2dc036209a632966daf5f948984371329 /src/Formats/MarkdownFormatService.kt | |
parent | 1a4794397f3e5db8dac12d1797edd16c121de21f (diff) | |
download | dokka-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.kt | 4 |
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})" } |