use
const generateTypstNode = (val) => {
let result = {
type: 'raw',
lang: 'typst',
typst: val
}
return result
}
to replace any node with a typst node.
use
const generateTypstNode = (val) => {
let result = {
type: 'raw',
lang: 'typst',
typst: val
}
return result
}
to replace any node with a typst node.