Skip to content

mainmatter/emblem-migrator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

emblem-migrator

Migrate Emblem.js to pretty Handlebars files

Screenshot of emblem-migrator

Usage

npx emblem-migrator [PATH]

Running the above command will automatically download the migrator from npm and run it for all Emblem.js files in the current folder and any subfolders. If you pass a different path it will look for all Emblem.js files in that folder and its subfolders. PATH can also be the path to a single file.

Known Issues

  • Due to the way the Emblem.js parser works we can't convert Emblem.js comments to Handlebars comments. The comments will be ignored by the parser and do not show up in the resulting Handlebars template.

Related

  • Emblem.js – a concise, beautiful, and fully compatible templating alternative for Handlebars.js
  • prettier – An opinionated code formatter

License

emblem-migrator is developed by and © Mainmatter GmbH and contributors. It is released under the MIT License.

About

Migrate Emblem.js to pretty Handlebars files

Resources

License

Stars

Watchers

Forks

Packages

No packages published