Highlights

Christine_Yang's avatar
Published Aug 17, 2023Updated Aug 22, 2023
Contribute to Docs

In Markdown, highlights are used to emphasize important words. Parts of the text appear in a yellow background after being inserted between two pairs of equal signs (==).

Note: This feature is not offered in all markdown processors. Use the HTML <mark> tag as an alternate way to highlight text.

Syntax

==Text==

Example

Below, the range of numbers in the baking tip is highlighted so that users pay attention to the amount of cookies they will have based on the amount of dough made:

Depending on how much cookie dough you eat, you’ll have about ==20-22== cookies from this recipe!

This will display as:

Depending on how much cookie dough you eat, you’ll have about 20-22 cookies from this recipe!

All contributors

Contribute to Docs

Learn Markdown on Codecademy