Markdown references in templateData are now looked for recursively