Make code tags consistent in discussions

Problem

  • Sometimes code tags get misused to emphasize something, which should be done by using bold
  • The visual index of code blocks is much higher compared to other markdown content
  • Inline code blocks and normal code blocks are inconsistent
Original proposal ### Proposal

old:

image

new:

  • #f2f2f2 and #2e2e2e
  • Lose the border on normal code-blocks

image

Considerations


cc:

  • @tauriedavis (as you have done previous work on the markdown/typography)
  • @pedroms (as you have been involved with our color management)

Solution

$gray-100 (background) / $gray-950 (text color)
For code blocks, border should be $gray-200
View design

### Proposal

$gray-100 and $red-800

image

Edited by Coung Ngo