Skip to content

📚 The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

Fix translations and add warn snippet

Smaug673988649e045973
diff --git a/frontend/components/MarkdownEditor/snippets.ts b/frontend/components/MarkdownEditor/snippets.ts
index c6bc0f13..6a74cd10 100644
--- a/frontend/components/MarkdownEditor/snippets.ts
+++ b/frontend/components/MarkdownEditor/snippets.ts
@@ -8,11 +8,15 @@ interface Snippet {
const snippets = [
{
cmd: '!def',
- value: ':::definition Définition: {$}\n:::',
+ value: ':::definition Definition: {$}\n:::',
},
{
cmd: '!thm',
- value: ':::theorem Théorème:{$}\n:::',
+ value: ':::theorem Theorem:{$}\n:::',
+ },
+ {
+ cmd: '!warn',
+ value: ':::warning Warning:{$}\n:::',
},
{
cmd: '!m',