From f5a753e2fb74e2e8b22d8a253786a51a57daa7e2 Mon Sep 17 00:00:00 2001 From: Angus Hollands Date: Thu, 25 Apr 2024 11:25:39 +0100 Subject: [PATCH] feat: add more grid directives --- src/myst.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/myst.ts b/src/myst.ts index 22cd7a7..8b4305f 100644 --- a/src/myst.ts +++ b/src/myst.ts @@ -23,7 +23,7 @@ import { unified } from 'unified'; import { VFile } from 'vfile'; import { PageFrontmatter, validatePageFrontmatter } from 'myst-frontmatter'; import { cardDirective } from 'myst-ext-card'; -import { gridDirective } from 'myst-ext-grid'; +import { gridDirectives } from 'myst-ext-grid'; import { tabDirectives } from 'myst-ext-tabs'; import { proofDirective } from 'myst-ext-proof'; import { exerciseDirectives } from 'myst-ext-exercise'; @@ -56,10 +56,10 @@ export function markdownParse(text: string): Root { return mystParse(content, { directives: [ cardDirective, - gridDirective, + ...gridDirectives, proofDirective, + ...exerciseDirectives, ...tabDirectives, - ...exerciseDirectives ], roles: [] });