Automattic / Automattic/o2

Markdown code block not working in comments

Open
#168 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
338
Forks
56
Avg merge
24m
Merged PRs (30d)
16

Description

If I try to type: \`\`\`, I get this:
![image](https://user-images.githubusercontent.com/1036685/54176620-d992f180-444c-11e9-967b-92eb15b0560a.png)

Which appears like this:
![image](https://user-images.githubusercontent.com/1036685/54176663-f7f8ed00-444c-11e9-8aac-995c6d0ff7d5.png)

However, you can type ~~~ instead as a work-around.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue in a comment by trying triple backticks and compare it with the reported tilde workaround. Trace the comment Markdown-rendering entry point; done means backtick code blocks render correctly without breaking the surrounding comment, while the existing tilde workaround continues to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, markdown, wordpress
Domain
content, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.