feat: add minecraft wiki content query

This commit is contained in:
2024-10-10 11:57:53 +08:00
parent ac7910d20c
commit af6f580583
6 files changed
+112 -25

No files matched your search

@@ -0,0 +1,14 @@
/*
* Copyright © 2024 RTAkland
* Author: RTAkland
* Date: 2024/10/10
*/
package cn.rtast.fancybot.util.str
import info.bliki.wiki.model.WikiModel
fun String.convertToHTML(): String {
return WikiModel.toHtml(this)
}