Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3946 by Add styling for .codehilite to signify the section

What version are you running?

2.0.18 (but also in 2.5 beta 3)

What's the URL of the page containing the problem?

What steps will reproduce the problem?

1. Publish a comment with a fenced code block (```).
2. View the comment

What is the expected output? What do you see instead?

The div with class 'codehilite' appears inline with the rest of the human message. It doesn't particularly stand out, outside a left margin.

What operating system are you using? What browser?

Windows, Chrome stable

Please provide any additional information below.

It is common practice to add borders and background to signify the code block. This is regardless of code syntax styling.

Likely top examples would come from StackOverflow and GitHub.

StackOverflow - light grey background without border

GitHub - light grey background with border
@seee (click Code)

Personally, I've added the styling to a userscript to handle it on my client, but I think it's common practice enough that the project should support this.

You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
For more options, visit

Reply via email to