Skip to content

Build your personal knowledge base with Trilium Notes

chore(core): add a few missing constants

Elian Doran050cdd0a857e
diff --git a/packages/trilium-core/src/services/export/markdown.ts b/packages/trilium-core/src/services/export/markdown.ts
new file mode 100644
index 0000000000..5889033a5f
--- /dev/null
+++ b/packages/trilium-core/src/services/export/markdown.ts
@@ -0,0 +1,10 @@
+// TODO: Move this to a dedicated file someday.
+export const ADMONITION_TYPE_MAPPINGS: Record<string, string> = {
+ note: "NOTE",
+ tip: "TIP",
+ important: "IMPORTANT",
+ caution: "CAUTION",
+ warning: "WARNING"
+};
+
+export const DEFAULT_ADMONITION_TYPE = ADMONITION_TYPE_MAPPINGS.note;