aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorTheOnlyTails <theonlytails@theonlytails.com>2022-05-13 16:16:03 +0300
committerGitHub <noreply@github.com>2022-05-13 16:16:03 +0300
commitc532003c71cc551ce0df797a8d6207c0edb8eaab (patch)
treee39c948c0d0e305dbb0a61be7744e517fd924367 /core
parent3e55be9954acc7e4cab11ed661cb62ed347e9b84 (diff)
downloaddokka-c532003c71cc551ce0df797a8d6207c0edb8eaab.tar.gz
dokka-c532003c71cc551ce0df797a8d6207c0edb8eaab.tar.bz2
dokka-c532003c71cc551ce0df797a8d6207c0edb8eaab.zip
Render quotes as blockquotes instead of code blocks. (#2496)
Diffstat (limited to 'core')
-rw-r--r--core/api/core.api1
-rw-r--r--core/src/main/kotlin/pages/ContentNodes.kt2
2 files changed, 2 insertions, 1 deletions
diff --git a/core/api/core.api b/core/api/core.api
index 8add4bd8..28f55df6 100644
--- a/core/api/core.api
+++ b/core/api/core.api
@@ -4277,6 +4277,7 @@ public final class org/jetbrains/dokka/pages/TextStyle : java/lang/Enum, org/jet
public static final field Italic Lorg/jetbrains/dokka/pages/TextStyle;
public static final field Monospace Lorg/jetbrains/dokka/pages/TextStyle;
public static final field Paragraph Lorg/jetbrains/dokka/pages/TextStyle;
+ public static final field Quotation Lorg/jetbrains/dokka/pages/TextStyle;
public static final field Span Lorg/jetbrains/dokka/pages/TextStyle;
public static final field Strikethrough Lorg/jetbrains/dokka/pages/TextStyle;
public static final field Strong Lorg/jetbrains/dokka/pages/TextStyle;
diff --git a/core/src/main/kotlin/pages/ContentNodes.kt b/core/src/main/kotlin/pages/ContentNodes.kt
index 4210b4dd..0e89b3f6 100644
--- a/core/src/main/kotlin/pages/ContentNodes.kt
+++ b/core/src/main/kotlin/pages/ContentNodes.kt
@@ -384,7 +384,7 @@ enum class TokenStyle : Style {
enum class TextStyle : Style {
Bold, Italic, Strong, Strikethrough, Paragraph,
- Block, Span, Monospace, Indented, Cover, UnderCoverText, BreakableAfter, Breakable, InlineComment
+ Block, Span, Monospace, Indented, Cover, UnderCoverText, BreakableAfter, Breakable, InlineComment, Quotation
}
enum class ContentStyle : Style {