diff --git a/src/util.ts b/src/util.ts index 9ab35e2..c8a1b0a 100644 --- a/src/util.ts +++ b/src/util.ts @@ -96,7 +96,7 @@ export function stringifyNode(node: MfmNode): string { } }); const args = (argFields.length > 0) ? '.' + argFields.join(',') : ''; - return `[${ node.props.name }${ args } ${ stringifyTree(node.children) }]`; + return `$[${ node.props.name }${ args } ${ stringifyTree(node.children) }]`; } case 'text': { return node.props.text;