feat: add minecraft wiki content query
This commit is contained in:
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)
|
||||
}
|
||||
Reference in New Issue
Block a user