Skip to content

Commit

Permalink
chore: lowlight example file
Browse files Browse the repository at this point in the history
  • Loading branch information
modbender authored and modbender committed Dec 13, 2023
1 parent dd5c0eb commit 99243bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion playground/app.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div>
<TipTap />
<TipTapLowlight />
</div>
</template>

Expand Down
4 changes: 3 additions & 1 deletion playground/components/TipTapLowlight.client.vue
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,9 @@ const lowlight = TiptapcreateLowlight(Tiptapcommon);
const editor = useEditor({
content: "<p>I'm running Tiptap with Vue.js. 🎉</p>",
extensions: [
TiptapStarterKit,
TiptapStarterKit.configure({
codeBlock: false,
}),
TiptapCodeBlockLowlight.configure({
lowlight,
}),
Expand Down

0 comments on commit 99243bd

Please sign in to comment.