Skip to main content
2 of 3
shuffled question
kiri
  • 28.7k
  • 13
  • 21

How to edit to look like code?

How can I make it so that a block of text looks like a code block (with a grey background and mono-space font)?

Example:

# The primary network interface
auto eth1
iface eth1 inet dhcp
Cam Jones
  • 3.8k
  • 11
  • 3