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.

New snippets

Smaug6739de3290e923bc
diff --git a/frontend/components/MarkdownEditor/snippets.ts b/frontend/components/MarkdownEditor/snippets.ts
index 84ca29fd..4503c539 100644
--- a/frontend/components/MarkdownEditor/snippets.ts
+++ b/frontend/components/MarkdownEditor/snippets.ts
@@ -18,6 +18,32 @@ const snippets = [
cmd: '!m',
value: '${$}$',
},
+ {
+ cmd: '!center',
+ value: ':::center\n{$}\n:::',
+ },
+
+ // Red, green, blue, yellow, details
+ {
+ cmd: '!red',
+ value: ':::red\n{$}\n:::',
+ },
+ {
+ cmd: '!green',
+ value: ':::green\n{$}\n:::',
+ },
+ {
+ cmd: '!blue',
+ value: ':::blue\n{$}\n:::',
+ },
+ {
+ cmd: '!yellow',
+ value: ':::yellow\n{$}\n:::',
+ },
+ {
+ cmd: '!details',
+ value: ':::details\n{$}\n:::',
+ },
];
export { type Snippet, snippets };