We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
目前Markdown MD没有暴露语言类名。如果用户使用自定义的语言将无法捕获为其修改样式。 官方有提供API
生成编辑器的时候带上对应属性即可
The text was updated successfully, but these errors were encountered:
默认的配置里面实际上内置了。只需要在xssWhiteList的白名单开启对应的标签和需要的数据即可。
:custom-xss-rules="customRenderRules"
const customRenderRules = ref([ { key: 'code', value: ['class'], } ]);
Sorry, something went wrong.
用法直接可以后续用来做参考。暂时不提交暴露全部设置的PR
No branches or pull requests
What problem does this feature solve
目前Markdown MD没有暴露语言类名。如果用户使用自定义的语言将无法捕获为其修改样式。
官方有提供API
What does the proposed API look like
生成编辑器的时候带上对应属性即可
The text was updated successfully, but these errors were encountered: