Skip to content

Commit 9e9ec49

Browse files
committed
Merge pull request akiran#4 from NothingEverHappens/patch-2
Update README.md
2 parents 70ee50f + 9eb5718 commit 9e9ec49

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ Choose the [theme](https://highlightjs.org/static/demo/) for syntax highlighting
2020
<link rel="stylesheet" href="/path/to/styles/theme-name.css">
2121
```
2222

23+
The styles will most likely be in `node_modules/highlight.js/styles` folder.
24+
2325
#### Syntax highlighting of single code snippet
2426
Code snippet that requires syntax highlighting should be passed as children to Highlight component in string format. Language name of code snippet should be specified as className.
2527

@@ -39,4 +41,4 @@ This is especially usefull if html with multiple code snippets is generated from
3941
<Highlight innerHTML={true}>
4042
{"html with multiple code snippets"}
4143
</Highlight>
42-
```
44+
```

0 commit comments

Comments
 (0)