summaryrefslogtreecommitdiff
path: root/packages/integrations/markdoc/test/fixtures/render-with-components/markdoc.config.mjs
diff options
context:
space:
mode:
authorGravatar Ben Holmes <hey@bholmes.dev> 2023-06-06 14:48:54 -0400
committerGravatar GitHub <noreply@github.com> 2023-06-06 14:48:54 -0400
commita11b62ee1f5d524b0ba942818525b623a6d6eb99 (patch)
treef1b010a172546f6f1180a1b8f89b4695fca8d4d7 /packages/integrations/markdoc/test/fixtures/render-with-components/markdoc.config.mjs
parent8034edd9ecf805073395ba7f68f73cd5fc4d2c73 (diff)
downloadastro-a11b62ee1f5d524b0ba942818525b623a6d6eb99.tar.gz
astro-a11b62ee1f5d524b0ba942818525b623a6d6eb99.tar.zst
astro-a11b62ee1f5d524b0ba942818525b623a6d6eb99.zip
Fix: Markdoc type errors (#7311)
* fix: config, prism, shiki exports * fix: type error for `render` property * chore: use `.ts` files in select tests for type checks * fix: type error on shiki() promise * chore: changeset
Diffstat (limited to 'packages/integrations/markdoc/test/fixtures/render-with-components/markdoc.config.mjs')
-rw-r--r--packages/integrations/markdoc/test/fixtures/render-with-components/markdoc.config.mjs28
1 files changed, 0 insertions, 28 deletions
diff --git a/packages/integrations/markdoc/test/fixtures/render-with-components/markdoc.config.mjs b/packages/integrations/markdoc/test/fixtures/render-with-components/markdoc.config.mjs
deleted file mode 100644
index ada03f5f4..000000000
--- a/packages/integrations/markdoc/test/fixtures/render-with-components/markdoc.config.mjs
+++ /dev/null
@@ -1,28 +0,0 @@
-import Code from './src/components/Code.astro';
-import CustomMarquee from './src/components/CustomMarquee.astro';
-import { defineMarkdocConfig } from '@astrojs/markdoc/config';
-
-export default defineMarkdocConfig({
- nodes: {
- fence: {
- render: Code,
- attributes: {
- language: { type: String },
- content: { type: String },
- },
- },
- },
- tags: {
- mq: {
- render: CustomMarquee,
- attributes: {
- direction: {
- type: String,
- default: 'left',
- matches: ['left', 'right', 'up', 'down'],
- errorLevel: 'critical',
- },
- },
- },
- },
-})