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

Escape backticks within fenced code blocks #17

Open
whichxjy opened this issue Jul 7, 2020 · 0 comments
Open

Escape backticks within fenced code blocks #17

whichxjy opened this issue Jul 7, 2020 · 0 comments

Comments

@whichxjy
Copy link
Contributor

whichxjy commented Jul 7, 2020

If we process Markdown text like this:

~~~
this code block has tildes,
```
and isn't closed by backticks
```
~~~

We will get something like this:

<pre>this code block has tildes,
<code>and isn't closed by backticks</code>
</pre>

But what we expect is:

<pre>this code block has tildes,
```
and isn't closed by backticks
```
</pre>

This is a known issue in bikeshed, which is caused by handling code spans after parsing Markdown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant