Commit 3d61b8a1 authored by nanahira's avatar nanahira

fix markdown

parent 19d233ef
This diff is collapsed.
......@@ -45,16 +45,16 @@
},
"dependencies": {
"koishi-target-def": "^2.1.2",
"koishi-thirdeye": "^11.1.14",
"koishi-thirdeye": "^11.1.16",
"lodash": "^4.17.21"
},
"peerDependencies": {
"koishi": "^4.10.4"
"koishi": "^4.10.10"
},
"devDependencies": {
"@koishijs/plugin-console": "^4.7.1",
"@koishijs/plugin-console": "^5.0.0",
"@koishijs/plugin-database-memory": "^2.0.1",
"@koishijs/plugin-sandbox": "^2.4.0",
"@koishijs/plugin-sandbox": "^2.5.0",
"@types/jest": "^29.2.0",
"@types/lodash": "^4.14.180",
"@types/node": "^17.0.21",
......
......@@ -52,7 +52,7 @@ export class InstanceConfig {
text += `${alert.annotations.description}`;
}
if (this.markdown) {
text = segment('markdown', text).toString();
text = segment('message', { markdown: 1 }, [text]).toString();
}
return text;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment