Initial commit

This commit is contained in:
Jeff Gardner
2023-01-10 16:26:46 +01:00
commit ad76d7393e
67 changed files with 9226 additions and 0 deletions

28
markdoc/nodes.js Normal file
View File

@@ -0,0 +1,28 @@
import { Fence } from '@/components/Fence'
import { nodes as defaultNodes } from '@markdoc/markdoc'
const nodes = {
document: {
render: undefined,
},
th: {
...defaultNodes.th,
attributes: {
...defaultNodes.th.attributes,
scope: {
type: String,
default: 'col',
},
},
},
fence: {
render: Fence,
attributes: {
language: {
type: String,
},
},
},
}
export default nodes