Skip to content

Commit 8547af7

Browse files
authored
Update creating-content.mdx
1 parent b74f890 commit 8547af7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,10 @@ const highlighted = 'This line is highlighted';
211211

212212
You can highlight text using strings or regular expressions. For example:
213213

214-
````md
215-
```jsx "hello" /ye[sp]/ add=/add[12]/ del=/remove[12]/
214+
````md title="content.md"
215+
```jsx title="code.js" "hello" /ye[sp]/ add=/add[12]/ del=/remove[12]/
216216
````
217-
```jsx "hello" /ye[sp]/ add=/add[12]/ del=/remove[12]/
217+
```jsx title="code.js" "hello" /ye[sp]/ add=/add[12]/ del=/remove[12]/
218218
console.log(
219219
'Hello, the words yes and yep will be marked. Also add1, add2, remove1, remove2',
220220
)

0 commit comments

Comments
 (0)