Highlights
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!
Contribute to Docs
- Learn more about how to get involved.
- Edit this page on GitHub to fix an error or make an improvement.
- Submit feedback to let us know how we can improve Docs.
Learn Markdown on Codecademy
- Career path
Front-End Engineer
Front-end engineers work closely with designers to make websites beautiful, functional, and fast.Includes 34 CoursesWith Professional CertificationBeginner Friendly115 hours - Free course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner Friendly7 hours