π The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.
Vue dockergolangkanbanknowledge-baseknowledge-managementmarkdownnote-takingnotesnotes-appnotionnuxtnuxtjsoffline-firstoidcpwaselfhostedssovuevuejswiki
center block
Smaug67396c50015634ba
diff --git a/@alexandrie/styles/src/markdown.scss b/@alexandrie/styles/src/markdown.scssindex 84f66748..edca4f0c 100644--- a/@alexandrie/styles/src/markdown.scss+++ b/@alexandrie/styles/src/markdown.scss@@ -162,6 +162,9 @@}}+.center {+ text-align: center;+}.custom-block-title {diff --git a/dashboard/helpers/markdown/container.ts b/dashboard/helpers/markdown/container.tsindex 20c0af4e..13e673e2 100644--- a/dashboard/helpers/markdown/container.ts+++ b/dashboard/helpers/markdown/container.ts@@ -10,7 +10,8 @@ export const containerPlugin = (md: MarkdownIt) => {.use(...createContainer('red', 'DANGER', md)).use(...createContainer('details', 'Details', md)).use(...createContainer('turquoise', 'INFO', md))- .use(...createInvisibleContainer('no-print'));+ .use(...createInvisibleContainer('no-print'))+ .use(...createInvisibleContainer('center'));};type ContainerArgs = [typeof container, string, { render: RenderRule }];diff --git a/dashboard/helpers/markdown/katex.ts b/dashboard/helpers/markdown/katex.tsdeleted file mode 100644index e69de29b..00000000