markdoc.config.mjs 352 B

12345678910111213141516
  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. logHello: {
  12. render: component('./src/components/LogHello.astro'),
  13. }
  14. },
  15. })