diff options
author | Ignat Beresnev <ignat.beresnev@jetbrains.com> | 2022-08-05 13:25:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-05 13:25:55 +0200 |
commit | efed96e969d8f5afe21197805851aca65ceb643a (patch) | |
tree | a848d331d8db45393452c704ccaf17e704b062eb /plugins/base/src/main/kotlin/renderers/html/HtmlContent.kt | |
parent | 7b020f000aa7ea868d5d3037e68eaec621ef9972 (diff) | |
download | dokka-efed96e969d8f5afe21197805851aca65ceb643a.tar.gz dokka-efed96e969d8f5afe21197805851aca65ceb643a.tar.bz2 dokka-efed96e969d8f5afe21197805851aca65ceb643a.zip |
Add a distinct divider between function/property overloads (#2585)
Diffstat (limited to 'plugins/base/src/main/kotlin/renderers/html/HtmlContent.kt')
-rw-r--r-- | plugins/base/src/main/kotlin/renderers/html/HtmlContent.kt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/plugins/base/src/main/kotlin/renderers/html/HtmlContent.kt b/plugins/base/src/main/kotlin/renderers/html/HtmlContent.kt new file mode 100644 index 00000000..a55323f9 --- /dev/null +++ b/plugins/base/src/main/kotlin/renderers/html/HtmlContent.kt @@ -0,0 +1,14 @@ +package org.jetbrains.dokka.base.renderers.html + +import org.jetbrains.dokka.pages.ContentBreakLine +import org.jetbrains.dokka.pages.Style + + +/** + * Html-specific style that represents <hr> tag if used in conjunction with [ContentBreakLine] + */ +internal object HorizontalBreakLineStyle : Style { + // this exists as a simple internal solution to avoid introducing unnecessary public API on content level. + // If you have the need to implement proper horizontal divider (i.e to support `---` markdown element), + // consider removing this and providing proper API for all formats and levels +} |