关于在vitepress1.5version中,使用markdown文本中出现 style={{key:value}}
有双重括号的时候就会报错404
#4438
Closed
4 tasks done
Labels
bug: pending triage
Maybe a bug, waiting for confirmation
Describe the bug
双重花括号在markdown文本中编译失败404,无法正确显示文本内容。
Reproduction
4、jsx的语法规则
{}
class
,要用className
style={{key:value}}
的形式去写html
中同名元素,若html
中无该标签对应的同名元素则报错react
就去渲染对应的组件,若组件没有定义,则报错Expected behavior
我觉得这个在编译的时候做一下处理,要兼容md通用格式
System Info
Additional context
Validations
The text was updated successfully, but these errors were encountered: