Skip to content

michealbenedict/atom-template-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

convert to HTML from different templating engines within the editor.

Resources

License

Stars

Watchers

Forks

Packages

No packages published