markdoc.config.mjs 279 B

12345678910111213
  1. import { defineMarkdocConfig, component } from '@astrojs/markdoc/config';
  2. export default defineMarkdocConfig({
  3. tags: {
  4. aside: {
  5. render: component('./src/components/Aside.astro'),
  6. attributes: {
  7. type: { type: String },
  8. title: { type: String },
  9. },
  10. },
  11. },
  12. });