Highlight
Mark important text with a highlight background
Highlight
Highlight marks text with a colored background to draw attention to key terms and phrases.
Basic Usage
This is very important information that you should remember.
Syntax:
This is ==highlighted text== in a sentence.
MarkdownMultiple Highlights
Learn HTML, CSS, and JavaScript to become a front-end developer.
With Other Formatting
Highlights can be combined with other inline formatting:
- **Bold highlight** for extra emphasis
- *Italic highlight* for subtle emphasis
- `code highlight` for highlighted code
Use Cases
Key terms:
The Document Object Model (DOM) is a programming interface for web documents.
Important values:
The default port is 8080 and the timeout is 30 seconds.
Comparisons:
Use `const` for values that don't change and `let` for values that do.
Best Practices
- Use highlights sparingly to maintain their visual impact
- Best for key terms, important values, and critical phrases
- Don't highlight entire paragraphs --- just the essential words