mirror of
https://github.com/zadam/trilium.git
synced 2026-05-06 17:47:43 +02:00
chore(core): add a few missing constants
This commit is contained in:
10
packages/trilium-core/src/services/export/markdown.ts
Normal file
10
packages/trilium-core/src/services/export/markdown.ts
Normal file
@@ -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;
|
||||
Reference in New Issue
Block a user