atom-template-engine

convert to HTML from different templating engines within the editor.

Micheal Benedict

1,254

2

0.2.2

MIT

GitHub

atom-template-engine

Convert to HTML from different templating engines within the editor.

Usage

  1. Open up command pallette (cmd+shift+p)
  2. Search for Template Convert To:

Screenshot

Supported template engines

Contribute templating engines

  1. Create new {{templateengine}}.js file in template-engines directory
  2. Export two methods, namely
{
  toHTML: function (string), // Return string
  fromHTML: function (string) // Return string
}
  1. Check examples in the template-engines folder

Testing

Run apm test from the package directory.

TODO

  1. Add more templating engines

License

MIT License