mirror of
https://github.com/aljazceru/nostr-how.git
synced 2025-12-17 14:24:25 +01:00
29 lines
461 B
JavaScript
29 lines
461 B
JavaScript
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
|