anchor/docs/markdoc/nodes.js

27 lines
385 B
JavaScript

import { Fence } from '@/components/Fence'
const nodes = {
document: {
render: undefined,
},
th: {
attributes: {
scope: {
type: String,
default: 'col',
},
},
render: (props) => <th {...props} />,
},
fence: {
render: Fence,
attributes: {
language: {
type: String,
},
},
},
}
export default nodes