Markdown Preview

Formatting guide

Title Header (H1 header)

Introduction (H3 header)

This is some placeholder text to show examples of Markdown formatting. We have a full article template you can use when writing a DigitalOcean article. Please refer to our style and formatting guidelines for more detailed explanations: [](

Prerequisites (H2 header)

Before you begin this guide you’ll need the following:

Step 1 — Title Case

This is italics and this is bold.

Here’s a configuration file with a label:

server {
    listen 80 default_server;
    . . .

Here’s output from a command with a secondary label:

Could not connect to Redis at Connection refused

Step 2 — Title Case

This is inline code. This is a variable. This is an in-line code variable.

This is a non-root user command example:

  • sudo apt-get update

This is a root command example:

  • adduser sammy

This is a custom prefix command example:


Step 3 — Title Case

Here’s how to include an image:

Alt text for screen readers

Here is a note, a warning, some info and a draft note:

Note: Use this for notes on a publication.

Warning: Use this to warn users.

Info: Use this for product information.

Draft: Use this for notes in a draft publication.


Please refer to our writing guidelines for more detailed explanations on our style and formatting.