mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
339529fc82
* Revert "revert: markdoc asset bleed (#7178)"
This reverts commit 57e65d247f
.
* fix: missing result param on `renderUniqueStylesheet`
* test: bundled styles (fails!)
* fix: use `type: 'external'` for links
* fix: split Astro components from markdoc config
* test: style bleed (it fails...)
* chore: remove unused util
* fix: revert entry change
* Stop traversing the graph when you encounter a propagated asset
* chore: cleanup unused `entry` prop
* refactor: add isPropagatedAssetsMod check
* chore: remove unused import
* chore: changeset
* Normalize path using vite
* Update packages/integrations/markdoc/src/index.ts
Co-authored-by: Ben Holmes <hey@bholmes.dev>
---------
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: bholmesdev <bholmesdev@gmail.com>
Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
18 lines
375 B
JavaScript
18 lines
375 B
JavaScript
import Aside from './src/components/Aside.astro';
|
|
import LogHello from './src/components/LogHello.astro';
|
|
import { defineMarkdocConfig } from '@astrojs/markdoc/config';
|
|
|
|
export default defineMarkdocConfig({
|
|
tags: {
|
|
aside: {
|
|
render: Aside,
|
|
attributes: {
|
|
type: { type: String },
|
|
title: { type: String },
|
|
}
|
|
},
|
|
logHello: {
|
|
render: LogHello,
|
|
}
|
|
},
|
|
})
|