Markdown Guide

This topic provides additional Markdown usage guidelines and more detail about selected Markdown editing capabilities already covered in the Make a Larger Contribution topic.

Inline Styling

Double tildas (~) can be used to display text with a line through it.

For example, this Markdown will output the following text:

~~This text will have a strikethrough style~~

This text will have a strikethrough

There are multiple types of links and references that can be added to Markdown files built with Hugo. Each has an equivalent inline Markdown. All links and references are rendered as green text.

This type of link is used to reference content outside of the documentation site, typically to another website.

Inline MarkdownExample
[Display Text](<site-address>)[Cumulus docs](http://docs.cumulusnetworks.com)

Do not use traditional markdown links to link between pages in the documentation. Use the custom link shortcode to to link between internal documentation pages.

In-page Anchor

This type of link is used to reference content in another section within the same file.

Inline MarkdownExample
[Display Text](#<section-title>/)[Hugo Shortcodes](#hugo-shortcodes)

The <section-title> must be in all lower case, and dashes must be used to replace any spaces, regardless of the formatting of the actual title.

Image References

In general, Cumulus Networks uses the img and figure shortcodes to reference static images; however, you can also use inline Markdown.

![Reference Text](/path)

Note that the reference text is not displayed.

For example, this Markdown renders the following images:

Trace Request Small

EVPN Arch

Tables

Creating tables in Markdown is very easy. Use three or more hyphens (—) to create each column header and pipes (|) to separate each column. While optional, Cumulus uses pipes on either end of a table row as well.

For example, this Markdown renders the following table:

headingdescription
texttext
texttext

Align Content

Colons can be used to align column content.

For example, this Markdown renders the following table:

TablesAreFun
col 1is left-aligned$1
col 2is centered$12
col 3is right-aligned$1600

Use Inline Styles

You can also use inline Markdown to format your text if needed.

For example, this Markdown renders the following table:

UseInlineMarkdown
ItalicsCommandsBold