在JavaDoc中,我可以将一个超链接表示为@see <a href="http://google.com">http://google.com</a>.在Kotlin 怎么能做到这一点呢?

推荐答案

Well, actually, hyperlinks and @see tags are two separate matters in KDoc, meaning that @see is only limited to API references:

/**
 * @see [Object.toString]
 */
class C

Hyperlinks per se use the regular Markdown syntax (but, unlike JavaDoc, can't be mixed with @see tags):

/**
 * **See Also:** [Google](http://google.com)
 */
class C

Kotlin相关问答推荐

最好的方法来创建一个 map 在kotlin从两个列表

将带大括号和不带大括号的Lambda值赋给@Composable函数

可组合项在返回后返回时组合导航句柄

将一个列表元素分组为多个组(indexBy)

如何在 Spring Boot 3 中为内部类提供运行时提示

我们应该在 Effect 和 Either 之间 Select 哪个作为我们业务服务的返回类型?

is return inside function definition 也是 kotlin 中的表达式

Kotlin:查找集合中最常见的元素

从代码块执行和返回(在 Elvis 运算符之后)

如何在 Spring WebFlux 的响应正文中流式传输二进制数据

如何在MVVM架构中观察RecyclerView适配器中的LiveData?

Kotlin JVM 和 Kotlin Native 有什么区别?

当被Spring代理类访问时,Kotlin实例变量为null

ObjectAnimator.ofFloat 不能直接在kotlin中取Int作为参数

如何获取Kotlin中变量的名称?

如何使用mockk库模拟android上下文

将字符串编码为Kotlin中的UTF-8

将 androidx.constraintlayout:constraintlayout lib 更新到 2.0.2 版本后出现崩溃 isRtl () null 引用

将协程更新到 1.2.0 后构建失败:META-INF/atomicfu.kotlin_module

如何在 kotlin 中创建重复对象数组?