Skip to content

Commit 6c84adb

Browse files
committed
Update readme
1 parent b93abe3 commit 6c84adb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,6 @@ import MyComponentSource from '!!raw-loader!./myComponent';
7676

7777
> The highlight range format is the same as in the [Docusaurus code blocks]( https://docusaurus.io/docs/markdown-features/code-blocks#highlighting-with-metadata-string), just with the `()` parentheses instead of the `{}` parentheses.
7878
79-
#### How to style highlighted code lines
79+
## Styling
80+
### Style highlighted code lines
8081
You can change the code lines' highlight style by customizing the `docusaurus-highlight-code-line` class - the same way you would change the [default Docusaurus highlight style](https://docusaurus.io/docs/markdown-features/code-blocks#line-highlighting).

0 commit comments

Comments
 (0)