in site/src/buildtime/legacyImportDemoInstruction/remarkPlugin.ts [14:24]
function legacyImportDemoInstruction(options) {
return (tree, file) => {
tree.children.unshift({
type: 'import',
value: `import DemoRenderer__LegacyDemoInstructions from '@runtime/DemoRenderer'`,
})
visit(tree, 'paragraph', (node: mdast.Paragraph, ancestors) =>
paragraphVistor(node, ancestors as mdast.Parent[], file)
)
}
}