hooks: { 'content:file:beforeParse': (ctx: FileBeforeParseHook) => { // Check if the file is markdown if (ctx.file.extension === '.md') { // Replace custom syntax with HTML ctx.content = ctx.content.replace(/::the{(.+?)}/g, '<strong>$1</strong>') } } },