移除主题配置中的 stylize 选项
This commit is contained in:
@@ -47,19 +47,6 @@ export default hopeTheme({
|
||||
playground: {
|
||||
presets: ["ts", "vue"],
|
||||
},
|
||||
stylize: [
|
||||
{
|
||||
matcher: "Recommended",
|
||||
replacer: ({ tag }) => {
|
||||
if (tag === "em")
|
||||
return {
|
||||
tag: "Badge",
|
||||
attrs: { type: "tip" },
|
||||
content: "Recommended",
|
||||
};
|
||||
},
|
||||
},
|
||||
],
|
||||
math: {
|
||||
type: "katex"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user