Skip to main content
added examples
Source Link
Sweeper
  • 797
  • 4
  • 12

The background of inline code is different from the background of code blocks.

enter image description here

This makes them look like "different things" when in fact they are all just code, and should be formatted the same way.

Live examples (On SO dark mode the difference is much more significant):

Inline code: this is inline code

A code block:

this is a code block

The background of inline code is different from the background of code blocks.

enter image description here

This makes them look like "different things" when in fact they are all just code, and should be formatted the same way.

Live examples:

Inline code: this is inline code

A code block:

this is a code block

The background of inline code is different from the background of code blocks.

enter image description here

This makes them look like "different things" when in fact they are all just code, and should be formatted the same way.

Live examples (On SO dark mode the difference is much more significant):

Inline code: this is inline code

A code block:

this is a code block

The background of inline code is different from the background of code blocks.

enter image description here

This makes them look like "different things" when in fact they are all just code, and should be formatted the same way.

Live examples:

Inline code: this is inline code

A code block:

this is a code block

The background of inline code is different from the background of code blocks.

enter image description here

This makes them look like "different things" when in fact they are all just code, and should be formatted the same way.

The background of inline code is different from the background of code blocks.

enter image description here

This makes them look like "different things" when in fact they are all just code, and should be formatted the same way.

Live examples:

Inline code: this is inline code

A code block:

this is a code block
Source Link
Sweeper
  • 797
  • 4
  • 12

The background of inline code is different from the background of code blocks.

enter image description here

This makes them look like "different things" when in fact they are all just code, and should be formatted the same way.