diff --git a/.prettierrc.json b/.prettierrc.json
index d1df35f..3774d09 100644
--- a/.prettierrc.json
+++ b/.prettierrc.json
@@ -17,5 +17,14 @@
"tabWidth": 2,
"trailingComma": "none",
"useTabs": false,
- "vueIndentScriptAndStyle": false
+ "vueIndentScriptAndStyle": false,
+ "overrides": [
+ {
+ "files": ["slides.md", "example.md", "pages/*.md"],
+ "options": {
+ "parser": "slidev",
+ "plugins": ["prettier-plugin-slidev"]
+ }
+ }
+ ]
}
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 6dda5cf..1841c9b 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -4,8 +4,5 @@
"editor.formatOnSave": true,
"slidev.force-enabled": true,
"slidev.include": ["**/slides.md", "example.md"],
- "[markdown]": {
- "editor.defaultFormatter": "antfu.slidev"
- },
- "prettier.configPath": ".prettierrc.json"
+ "prettier.configPath": ".prettierrc.json"
}
diff --git a/bun.lockb b/bun.lockb
index fd42b69..62e4901 100755
Binary files a/bun.lockb and b/bun.lockb differ
diff --git a/example.md b/example.md
index bd30ee8..5d74e03 100644
--- a/example.md
+++ b/example.md
@@ -41,10 +41,8 @@ The last comment block of each slide will be treated as slide notes. It will be
-->
---
-
hideInToc: true
layout: bullets
-
---
# Sommaire
@@ -52,10 +50,7 @@ layout: bullets