Convert to HTML from different templating engines within the editor.
- Open up command pallette (
cmd+shift+p
) - Search for Template Convert To:
- Create new
{{templateengine}}.js
file intemplate-engines
directory - Export two methods, namely
{
toHTML: function (string), // Return string
fromHTML: function (string) // Return string
}
- Check examples in the
template-engines
folder
Run apm test
from the package directory.
- Add more templating engines