Skip to content

Commit d4312a7

Browse files
authored
fixed syntax highlighting of marking text examples
1 parent 02e5f60 commit d4312a7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/tutorialkit.dev/src/content/docs/guides/creating-content.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,12 +213,16 @@ You can highlight text using strings or regular expressions. For example:
213213

214214
````md
215215
```jsx "hello" /ye[sp]/ add=/add[12]/ del=/remove[12]/
216+
````
217+
```jsx "hello" /ye[sp]/ add=/add[12]/ del=/remove[12]/
216218
console.log(
217219
'Hello, the words yes and yep will be marked. Also add1, add2, remove1, remove2',
218220
)
219221
```
220-
````
221222

223+
````md
224+
```jsx "hello" /ye[sp]/ add=/add[12]/ del=/remove[12]/
225+
````
222226
```jsx "hello" /ye[sp]/ add=/add[12]/ del=/remove[12]/
223227
console.log(
224228
'Hello, the words yes and yep will be marked. Also add1, add2, remove1, remove2',

0 commit comments

Comments
 (0)