Added Masthead, CMDPalette and PostHeader Components
This commit is contained in:
14
markdoc.config.mjs
Normal file
14
markdoc.config.mjs
Normal file
@@ -0,0 +1,14 @@
|
||||
import { defineMarkdocConfig, component } from '@astrojs/markdoc/config';
|
||||
|
||||
export default defineMarkdocConfig({
|
||||
tags: {
|
||||
ElementSymbol: {
|
||||
render: component('./src/components/content/ElementSymbol.astro'),
|
||||
attributes: {
|
||||
element: { type: String },
|
||||
size: { type: String },
|
||||
color: { type: String },
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user