EJS templates support

Hi all, how would I go about implementing support for EJS (https://ejs.co) templates? Is there a language support package for this that I haven’t found yet?

While searching for an answer I mostly found results for v5 suggesting that it should be possible with modes. While I did find v6 still has legacy-modes I’m wondering if there is a better way to handle this instead of relying on legacy features.

Thank you!

I’m not aware of a ready-made mode for this. The way to build something like it would be along the lines of the mixed-language parsing example.

1 Like