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
(markdown) no support for 4 backticks to escape code including 3 backticks #2350
Comments
Our rules say that the end quotes MUST start on a new line (for triple quotes). Is this not correct? |
In this case I'm surrounding the block with four backticks, and explaining markdown:
But only the above goes into the highlighter. |
I'd say the real problem is we don't support four backticks... so those are probably just registering as jumping in and out of normal strings, which is never going to work with. :-) |
Is there someplace I can find this 4 backpack syntax documented? |
The four (N+1) backticks syntax is supposed to make it easier to embed code with three (N) backticks inside. https://bookdown.org/yihui/rmarkdown/markdown-syntax.html |
Thanks, I've since used them. :-) This should work find now since #2382. |
Highlight version: 9.17.0
Built from source, last commit 701184e
Input:
Output:
hljs.highlight('markdown', code).value
Results in output:
The text was updated successfully, but these errors were encountered: