In #35 I note that in my website, with the bug that #35 fixes, the embed compiler was being passed template content of my nunjucks file and then rendering it within liquid causing crashing due to syntax error.
The plugin should autodetect the embed layout engine from the file ext, subsequently it should only allow embedding markdown files as we pass the uncompiled file content into the render engine and tell it to do markdown and the emebed template's language.
In #35 I note that in my website, with the bug that #35 fixes, the embed compiler was being passed template content of my nunjucks file and then rendering it within liquid causing crashing due to syntax error.
The plugin should autodetect the embed layout engine from the file ext, subsequently it should only allow embedding markdown files as we pass the uncompiled file content into the render engine and tell it to do markdown and the emebed template's language.