my experience with frontend jinja templates (mainly in template-entity-row) is that you explicitly need to refresh the frontend before restarting otherwise ‘old’ templates remain in cache and throw errors, even though the template has long gone. I guess it also happens in markdown.
btw, the error was correct, in that the defaults hadnt been set in the template, if you fix that, the errors will be gone.