-
-
Notifications
You must be signed in to change notification settings - Fork 183
Open
Labels
enhancementImprovement requestImprovement request
Description
Inspired by: https://retype.com/components/code-block/#line-highlighting
Highlight a specific line or range of lines in a code block component using the line highlighting syntax.
After the opening of a code block component, add a space and then start your line highlighting configuration with a # character. For instance, to highlight the first line, use #1.
```java #3-4
public void hello() {
System.out.println("NOT highlighted");
System.out.println("This line is highlighted!");
System.out.println("This line is highlighted!");
System.out.println("NOT highlighted");
}
```
Metadata
Metadata
Assignees
Labels
enhancementImprovement requestImprovement request