Skip to content
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

需要解析代码中的字符串 #20

Closed
StephanoGeorge opened this issue Jul 27, 2022 · 4 comments
Closed

需要解析代码中的字符串 #20

StephanoGeorge opened this issue Jul 27, 2022 · 4 comments
Labels
bug Something isn't working discussion-needed need more discussion before fix/impl released

Comments

@StephanoGeorge
Copy link
Contributor

StephanoGeorge commented Jul 27, 2022

以下示例会被错误格式化:

```javascript
let s = 'https://google.com?q=天气'
```

```javascript
let s = 'https://github.com?q = 天气 '
```

部分语言支持反引号(`)字符串

@harttle
Copy link
Owner

harttle commented Aug 20, 2022

是在代码块中的代码吗?这部分内容应该不会经过 parser,会原样输出。可以提供一下能复现的(可能的最小的)输入。

@harttle harttle added bug Something isn't working discussion-needed need more discussion before fix/impl labels Aug 20, 2022
@StephanoGeorge
Copy link
Contributor Author

已更正描述中的测试用例

github-actions bot pushed a commit that referenced this issue Aug 21, 2022
# [1.2.0](v1.1.1...v1.2.0) (2022-08-21)

### Bug Fixes

* string in code block recognized as comment, fixes [#20](#20) ([d9cbee7](d9cbee7))

### Features

* support front matter, closes [#22](#22) ([b426e96](b426e96))
* support ignore list, fixes [#21](#21) ([453eee6](453eee6))
* support math block, fixes [#23](#23) ([44bda74](44bda74))
@github-actions
Copy link

🎉 This issue has been resolved in version 1.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@harttle
Copy link
Owner

harttle commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working discussion-needed need more discussion before fix/impl released
Projects
None yet
Development

No branches or pull requests

2 participants