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: [do.co/style](do.co/style)

Prerequisites (H2 header)

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

  • A bulleted list for prerequisites

  • Familiarity with Markdown

Step 1 — Title Case

This is italics and this is bold.

Here's a configuration file with a label:

/etc/nginx/sites-available/default
server {
    listen 80 default_server;
    . . .
}

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

Output
Could not connect to Redis at 127.0.0.1:6379: 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:

  • FLUSH PRIVILEGES;

Step 3 — Title Case

Here's how to include an image:

Alt text for screen readers

Here is a note and a warning:

Note: This is a note.

Warning: This is a warning.

Conclusion

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