aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorAndrey Tyrin <tyrin.andrew@gmail.com>2022-08-10 17:43:33 +0300
committerGitHub <noreply@github.com>2022-08-10 16:43:33 +0200
commit732f8aac1eb6b2c137fdf81d9d670a30d0f8b9ea (patch)
tree5cfe56adbc45ac4672304efb924e248c34a7e154 /core
parentd3ff6297c4034bbf45f4a60e287e12cfa1f0ad1a (diff)
downloaddokka-732f8aac1eb6b2c137fdf81d9d670a30d0f8b9ea.tar.gz
dokka-732f8aac1eb6b2c137fdf81d9d670a30d0f8b9ea.tar.bz2
dokka-732f8aac1eb6b2c137fdf81d9d670a30d0f8b9ea.zip
Support Var html tag for Javadoc (#2617)
Fixes #2358
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 0487146d..bba6b74a 100644
--- a/core/api/core.api
+++ b/core/api/core.api
@@ -4292,6 +4292,7 @@ public final class org/jetbrains/dokka/pages/TextStyle : java/lang/Enum, org/jet
public static final field Strikethrough Lorg/jetbrains/dokka/pages/TextStyle;
public static final field Strong Lorg/jetbrains/dokka/pages/TextStyle;
public static final field UnderCoverText Lorg/jetbrains/dokka/pages/TextStyle;
+ public static final field Var Lorg/jetbrains/dokka/pages/TextStyle;
public static fun valueOf (Ljava/lang/String;)Lorg/jetbrains/dokka/pages/TextStyle;
public static fun values ()[Lorg/jetbrains/dokka/pages/TextStyle;
}
diff --git a/core/src/main/kotlin/pages/ContentNodes.kt b/core/src/main/kotlin/pages/ContentNodes.kt
index a0f2fd74..0d8475a9 100644
--- a/core/src/main/kotlin/pages/ContentNodes.kt
+++ b/core/src/main/kotlin/pages/ContentNodes.kt
@@ -383,7 +383,7 @@ enum class TokenStyle : Style {
enum class TextStyle : Style {
Bold, Italic, Strong, Strikethrough, Paragraph,
Block, Span, Monospace, Indented, Cover, UnderCoverText, BreakableAfter, Breakable, InlineComment, Quotation,
- FloatingRight
+ FloatingRight, Var
}
enum class ContentStyle : Style {