From 49daadb181a311d7bab2ad664f582f2c4e5c981b Mon Sep 17 00:00:00 2001 From: goodinmech Date: Mon, 13 Aug 2018 15:07:21 +0300 Subject: [PATCH] Update README.md JSX code blocks in markdow --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 35b9eb4..1c18716 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ Props: 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. -```html +```jsx {"code snippet to be highlighted"} @@ -61,7 +61,7 @@ This is especially usefull if html with multiple code snippets is generated from **Warning:** If innerHTML is set to true, make sure the html generated with code snippets is from trusted source. -```html +```jsx {"html with multiple code snippets"}