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