mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
90cfade88c
* wip: react counter example * feat: resolve markdoc partials by file path * test: components within partials * test: html within partial * chore: changeset * fix: respect user configured partials * test: basic partials * chore: lock * chore: fix lock * chore: minor -> patch * fix: use --parallel for dev server timeout error * refactor: move component tests to separate file * fix: build indent fixture * fix: check before addWatchFile * refactor: rootRelative -> relativePartial * deps: use workspace react integration * refactor: split test files by fixture * refactor: switch to preact to avoid react prod build error * feat: use vite pluginContext * fix: handle missing ./ * chore: bump timeout
7 lines
202 B
TypeScript
7 lines
202 B
TypeScript
import { Markdoc, defineMarkdocConfig } from '@astrojs/markdoc/config';
|
|
|
|
export default defineMarkdocConfig({
|
|
partials: {
|
|
configured: Markdoc.parse('# Configured partial {% #configured %}'),
|
|
},
|
|
});
|