-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
fix: ordered-list prefix, add Math to inline structures, code block parse #25
Conversation
开发者你好。修复三个问题: fix ordered-list-item isValidPrefix问题: 有序列表的判断有误。 fix parse: reset blockCodeDelimiter at BlockCode问题: parse中的FrontMatter处理逻辑会设置 blockCodeDelimiter,而 BlockCode 没有,导致 blockCodeDelimiter 有误 else if (c3 === '```' && allow(NodeKind.BlockCode)) {
push(State.BlockCodeLang)
i += 3
}
else if (c3 === '---' && allowFrontMatter()) {
push(State.BlockCodeLang)
blockCodeDelimiter = c3
i += 3
} 复现文本: ---
test:1
---
```js
console.log(1)
``` fix node-kind: add Math into Inline问题: Math 支持 inline 模式,但是没有加入到 inline 变量中 复现文本: - 前$Latex$后 |
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.
感谢一起改这个东西,我来帮忙修流水线和发布
@harttle 开发者你好,已经加了 testcase。您看一下。
isBlank 的修改可能需要交还给您处理了,我看了下代码,quote,ordered list,unordered list 使用的都是 " ",需要统一修改。 |
🎉 This PR is included in version 1.2.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
vscode extension published: harttle/md-padding-vscode@c7fcf6e |
No description provided.