From 9fce5e9ba6116e83a44e7351bfe09b441e907a5e Mon Sep 17 00:00:00 2001 From: mx <mx@suroh.tk> Date: Fri, 28 Mar 2025 15:12:15 +0100 Subject: [PATCH] Update work schema --- .mattrbld/collections/work.json | 2 +- .mattrbld/schemas/work.json | 14 +++++++++----- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.mattrbld/collections/work.json b/.mattrbld/collections/work.json index 0dcc0e6..0592385 100644 --- a/.mattrbld/collections/work.json +++ b/.mattrbld/collections/work.json @@ -14,6 +14,6 @@ "everything" ] }, - "type": "md", + "type": "json", "urlTemplate": "" } \ No newline at end of file diff --git a/.mattrbld/schemas/work.json b/.mattrbld/schemas/work.json index 08f5147..6ed7289 100644 --- a/.mattrbld/schemas/work.json +++ b/.mattrbld/schemas/work.json @@ -258,7 +258,7 @@ "label": "Content", "localised": false, "options": { - "outputFormat": "html", + "outputFormat": "markdown", "blockFormats": [ "blockquote", "heading", @@ -270,7 +270,9 @@ "inlineFormats": [ "em", "strong", - "link" + "link", + "br", + "strike" ], "formatOptions": [ "allowQuoteFooters", @@ -346,7 +348,7 @@ "label": "Content", "localised": false, "options": { - "outputFormat": "html", + "outputFormat": "markdown", "blockFormats": [ "blockquote", "heading", @@ -358,7 +360,9 @@ "inlineFormats": [ "em", "strong", - "link" + "link", + "br", + "strike" ], "formatOptions": [ "allowQuoteFooters", @@ -380,7 +384,7 @@ "javascript", "markdown" ], - "allowRaw": false, + "allowRaw": true, "urlTemplate": "", "urlSuffix": "", "linkOptions": [