atom-template-engine
Convert to HTML from different templating engines within the editor.
Usage
- Open up command pallette (
cmd+shift+p
) - Search for Template Convert To:
Supported template engines
Contribute templating engines
- 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
Testing
Run apm test
from the package directory.
TODO
- Add more templating engines