Skip to content

Commit 3d5120a

Browse files
authored
fix: example of CodeBlockLowlight (#18)
1 parent 74f3cab commit 3d5120a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Diff for: .changeset/happy-bulldogs-serve.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'tiptap-docs': minor
3+
---
4+
5+
fix for example link for CodeBlockLowlight extension

Diff for: src/content/editor/extensions/nodes/code-block-lowlight.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ With the CodeBlockLowlight extension you can add fenced code blocks to your docu
3333

3434
Type <code>&grave;&grave;&grave; </code> (three backticks and a space) or <code>&Tilde;&Tilde;&Tilde; </code> (three tildes and a space) and a code block is instantly added for you. You can even specify the language, try writing <code>&grave;&grave;&grave;css </code>. That should add a `language-css` class to the `<code>`-tag.
3535

36-
<CodeDemo path="/Nodes/CodeBlock" />
36+
<CodeDemo path="/Nodes/CodeBlockLowlight" />
3737

3838
## Install
3939

0 commit comments

Comments
 (0)