-
-
Notifications
You must be signed in to change notification settings - Fork 957
New issue
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
Mac电脑上快捷键特性支持之后,同步菜单显示出正确的快捷键指引|支持mermaid 啦 #250
Conversation
bravekingzhang
commented
Nov 3, 2023
•
edited
Loading
edited
- 同步CSS编辑器也支持了Mac上的快捷键啦!
- 支持显示 mermaid 啦
- 菜单上的快捷键指引对不上实际快捷键的问题修复啦
🎊 PR Preview has been successfully built and deployed to https://doocs-md-preview-pr-250.surge.sh |
@bravekingzhang 有些问题,编辑的过程中,没有及时更新预览。 刷新后才正常显示。 |
@yanglbme renderer.code 不能写成异步,还是有点麻烦 |
@yanglbme 我本地 yarn dev 更本跑不起来,没法调试。 |
@@ -123,7 +123,7 @@ class WxRenderer { | |||
renderer.code = (text, lang) => { | |||
if (lang === "katex") { | |||
const html = katex.renderToString(text); | |||
return `<center>${html}</center>`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里不去除似乎也可以。
默认情况下,$$
的表现就是居中的。
这里最好不要通过识别 ```katex``` 的方式渲染公式,而是通过匹配 这样更加符合 markdown 语法。 |
你引入的marked似乎没暴露 公式这部分的render呀,一期先这样了,能用就行 @yanglbme 【微笑】 |
可以,新加的东西,我先合并,后续可以迭代优化 |
|
可以,我微信是 YLB0109 |