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

Code spans in headers are highlighted with editable playpen #1580

Closed
ehuss opened this issue Jun 17, 2021 · 1 comment · Fixed by #1613
Closed

Code spans in headers are highlighted with editable playpen #1580

ehuss opened this issue Jun 17, 2021 · 1 comment · Fixed by #1613
Labels
A-Style Area: Style (CSS, etc.) E-Help-wanted Experience: Help Needed

Comments

@ehuss
Copy link
Contributor

ehuss commented Jun 17, 2021

If output.html.playpen.editable = true is set, then any headers with a code span end up with the span highlighted as a link. This is not intended, and I'm not sure why it is happening. This was previously fixed in #1162, but for some reason that didn't fix it with editable code blocks.

Example:

## This has a `code` span

Is rendered as:

image

when it should be:

image

@ehuss ehuss added the A-Style Area: Style (CSS, etc.) label Jun 17, 2021
@ehuss ehuss added the E-Help-wanted Experience: Help Needed label Jul 6, 2021
@clement2026
Copy link
Contributor

clement2026 commented Jul 26, 2021

I'm a beginner of Rust, trying to help with this issue. I have created a PR #1613 about which I'm not 100% confident.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Style Area: Style (CSS, etc.) E-Help-wanted Experience: Help Needed
Projects
None yet
2 participants