A Guide to Basic Markdown Syntax – Part 3

Following up on my previous post about Markdown syntax, let’s discuss how to create some other important elements.

Code

To mark up code, use backticks (`) around your word or phrase.

To mark up code we use backticks.
(click on the image to open in a new tab)

Code Blocks (Multiline)

Use triple backticks for multiple lines of code or entire code blocks.

With tripple backticks we mark up mulitple lines of code.
(click on the image to open in a new tab)

Horizontal Rules

Create a horizontal line using at least three asterisks, hyphens, or underscores on a single line.

Example of creating a horizontal rule.
(click on the image to open in a new tab)

LInks

To create a hyperlink, use brackets for the link text (e.g., [Brave]) followed immediately by parentheses for the URL (e.g., (https://brave.com/)).

Example of creating a hyperlink.
(click on the image to open in a new tab)

URLs and Email Addresses

You can turn email addresses, or even URLs, into links with the use of angle brackets.

Links with the use of angle brackets.
(click on the image to open in a new tab)

Formatting Links

In order for links to be emphasized, include brackets and parens to asterisks.

Links can be emphasized inside asterisks.
(click on the image to open in a new tab)

Images

To add an image, use an exclamation point (!), then insert the alt text in brackets, and after that the image path or URL in parentheses.

You can optionally put a title in parentheses after the URL.

Syntax of an image.
(click on the image to open in a new tab)

Escaping Characters

Using a backslash before a character stops Markdown from formatting it.

We can escape characters with backslash.
(click on the image to open in a new tab)

Although my blog doesn’t support comments, feel free to reply via email or X.