-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into bump-svelte2tsx
- Loading branch information
Showing
23 changed files
with
94 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@astrojs/markdoc': patch | ||
--- | ||
|
||
Fix Markdoc type errors for `render` and `defineMarkdocConfig()` when using a TypeScript Markdoc config file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'astro': patch | ||
'@astrojs/mdx': patch | ||
--- | ||
|
||
Fix [Object AsyncGenerator] appearing in markup for Markdoc documents |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@astrojs/markdoc': patch | ||
--- | ||
|
||
Fix missing styles and scripts for components when using `document: { render: null }` in the Markdoc config. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 2 additions & 18 deletions
20
packages/integrations/markdoc/test/fixtures/render-null/markdoc.config.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,10 @@ | ||
import { defineMarkdocConfig } from '@astrojs/markdoc/config'; | ||
import { defineMarkdocConfig, nodes } from '@astrojs/markdoc/config'; | ||
|
||
export default defineMarkdocConfig({ | ||
nodes: { | ||
document: { | ||
...nodes.document, | ||
render: null, | ||
|
||
// Defaults from `Markdoc.nodes.document` | ||
children: [ | ||
'heading', | ||
'paragraph', | ||
'image', | ||
'table', | ||
'tag', | ||
'fence', | ||
'blockquote', | ||
'comment', | ||
'list', | ||
'hr', | ||
], | ||
attributes: { | ||
frontmatter: { render: false }, | ||
}, | ||
} | ||
} | ||
}) |
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
packages/integrations/mdx/test/fixtures/astro-content-css/astro.config.mjs
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
packages/integrations/mdx/test/fixtures/astro-content-css/package.json
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
packages/integrations/mdx/test/fixtures/astro-content-css/src/content/config.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.