mirror of
https://github.com/aljazceru/nostr-how.git
synced 2025-12-17 22:34:22 +01:00
Initial commit
This commit is contained in:
28
markdoc/nodes.js
Normal file
28
markdoc/nodes.js
Normal 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
|
||||
Reference in New Issue
Block a user