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

Nested pre render error #1325

Closed
LitileXueZha opened this issue Aug 27, 2018 · 3 comments · Fixed by #1387
Closed

Nested pre render error #1325

LitileXueZha opened this issue Aug 27, 2018 · 3 comments · Fixed by #1387
Labels
category: code blocks L2 - annoying Similar to L1 - broken but there is a known workaround available for the issue

Comments

@LitileXueZha
Copy link

Here is a demo

Should it be:

//```
// const a = 'b';
//```

Source md:

    ```
    // ```
    // const a = 'b';
    // ```
    ```
@UziTech UziTech added L1 - broken Valid usage causes incorrect output OR a crash AND there is no known workaround for the issue category: code blocks L2 - annoying Similar to L1 - broken but there is a known workaround available for the issue and removed L1 - broken Valid usage causes incorrect output OR a crash AND there is no known workaround for the issue labels Aug 27, 2018
@UziTech
Copy link
Member

UziTech commented Aug 27, 2018

CommonMark demo

The workaround for this is to use more than 3 backticks to start the code block

e.g.

````
//```
// const a = 'b';
//```
````

demo

@LitileXueZha
Copy link
Author

ok, thanks

@UziTech
Copy link
Member

UziTech commented Aug 27, 2018

I'm going to reopen this, since it is still a bug, so we can keep track of the issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: code blocks L2 - annoying Similar to L1 - broken but there is a known workaround available for the issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants