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

Markdown code input isn't rendering as expected. #78

Closed
Lovecore opened this issue Oct 8, 2022 · 2 comments
Closed

Markdown code input isn't rendering as expected. #78

Lovecore opened this issue Oct 8, 2022 · 2 comments

Comments

@Lovecore
Copy link

Lovecore commented Oct 8, 2022

I noticed that the blog template is not converting the inline code function from markdown to HTML. It's displaying the backtick and putting it and the content after in bold. I thought it might have been me, but I checked the demo page, and it also exhibits the same issue.

Example:
https://blist.vercel.app/en/blog/markdown-syntax/

The inline markdown within tables shows this.

Am I missing something? Should I be modifying my config.toml with something additional to support single backtick quotes?

@sramekmichal
Copy link
Contributor

Exactly what I was thinking.

Snímek obrazovky 2022-10-19 v 7 34 22

You can see that the code is showing as bold with backtick.

The html looks like this:

<code>
::before
"code"
::after
</code>

It takes values from styles.min.17b0bf9e9feefdbeec26bf09f165d3dd6e88a2690d0e05678797d446f5fb0f67.css

.prose code::before {
    content: "`";
}
.prose code::after {
    content: "`";
}

It should be simple fix.

I am just worry that in case of technical writing, this could lead to disliking the blog.

@chris-gillatt
Copy link
Contributor

It'd be good to get this fixed, to keep inline code blocks tidy without displaying the back ticks.

apvarun added a commit that referenced this issue Dec 25, 2022
@apvarun apvarun closed this as completed Dec 25, 2022
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

4 participants