Skip to content

Commit

Permalink
Set default code block language to html
Browse files Browse the repository at this point in the history
  • Loading branch information
yaaax committed Aug 16, 2024
1 parent f371ead commit 2ba70c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion confiture-web-app/src/components/ui/Tiptap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function getContent() {
const editor = useEditor({
content: getContent(),
extensions: [
CodeBlockLowlight.configure({ lowlight }),
CodeBlockLowlight.configure({ lowlight, defaultLanguage: "html" }),
Highlight,
Heading.configure({
levels: [2, 3, 4, 5, 6]
Expand Down

0 comments on commit 2ba70c2

Please sign in to comment.