File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 8181 - 模板外不能含有tsx表达式。
8282 - 模板中 jsx的attr里含有 ``" `` 时需要转义。
8383 - 直接内嵌客户端脚本时 不省略 ``is:inline `` 并使用IIFE
84+ - style 物件写法 需要转义2次 ``: `` 写作 ``\\\: ``
8485* mdx:
8586 - 不能含有js/ts注释。
8687 - 分割线使用 ``*** `` 而不 ``--- ``。
88+ - style 物件写法 需要转义2次 ``: `` 写作 ``\\\: ``
8789* styl:
8890 - 非跨行组件不设置行高。
8991 - 省略冒号分号逗号和花括号。
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ marker钩号或破折号由 `label::after` 实现,可以自定义添加你需
108108 dataset = { { marker : " *" }}
109109 style = { {
110110 ' --color-checkbox' : ' var(--blue-6)' ,
111- ' --color-checkbox\: disabled' : ' var(--blue-2)' ,
111+ ' --color-checkbox\\\ : disabled' : ' var(--blue-2)' ,
112112 color: ' rgb(var(--blue-6))'
113113}} >Tim</Checkbox >
114114
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ span.☘-switch(data-wider-trigger)
111111 <T class = " ☘-input-wrapper" >
112112 <Switch title = " fire" dataset = { { primary : " danger" }} style = { {
113113 " --box-shadow-width-switch" : " 16px" ,
114- " --box-shadow-color-switch\: checked" : " var(--blue-5)"
114+ " --box-shadow-color-switch\\\ : checked" : " var(--blue-5)"
115115 }} >
116116 <T class = " ☘-switch-mover" >🔥</T >
117117 <T class = " ☘-switch-slot" />
You can’t perform that action at this time.
0 commit comments