Milkdown / vscode

MIT License
259 stars 10 forks source link

[Bug] Failed to parse code snippet #29

Closed Banyc closed 2 years ago

Banyc commented 2 years ago

Describe the bug A clear and concise description of what the bug is.

-   ```c
    int i;


This won't be parsed properly.

**To Reproduce**
Steps to reproduce the behavior:

1. make a markdown file with whatever name
2. copy the code above to the file
3. ctrl + p
4. "milkdown"
5. hit "enter"
6. get wrong rendering

**Expected behavior**
A clear and concise description of what you expected to happen.

parse the code snippet as a whole

**Screenshots**
If applicable, add screenshots to help explain your problem.

<img width="251" alt="image" src="https://user-images.githubusercontent.com/36535895/166881686-697c0b4f-d31b-47d0-9a64-0346f2527bfd.png">

**Desktop (please complete the following information):**

-   OS: [e.g. iOS] Mac OS
-   Browser [e.g. chrome, safari] vscode
-   Version [e.g. 22] v0.0.12

**Additional context**
Add any other context about the problem here.
Saul-Mirone commented 2 years ago

This can be resolved by upgrading milkdown version. I'll do it soon.

Saul-Mirone commented 2 years ago

Fixed and will be released soon.

Saul-Mirone commented 2 years ago

Released with 0.0.13.