Skip to main content
added 68 characters in body
Source Link
Tim
  • 33.3k
  • 17
  • 31

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

The primary network interface

Exampleauto eth1 iface eth1 inet dhcp

looks the same as it appears on the monitor, like this:

# The primary network interface
auto eth1
iface eth1 inet dhcp

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

How can I make it so this,

The primary network interface

auto eth1 iface eth1 inet dhcp

looks the same as it appears on the monitor, like this:

# The primary network interface
auto eth1
iface eth1 inet dhcp
shuffled question
Source Link
kiri
  • 28.7k
  • 13
  • 21

How can I make it so this,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

looks the same as it appears on the monitor.

How can I make it so this,

# The primary network interface
auto eth1
iface eth1 inet dhcp

looks the same as it appears on the monitor.

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
Source Link
Cam Jones
  • 3.8k
  • 11
  • 3

How to edit to look like code?

How can I make it so this,

# The primary network interface
auto eth1
iface eth1 inet dhcp

looks the same as it appears on the monitor.