Skip to content

twbartel/prettier-twig-craft-cms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prettier-twig-craft-cms

This is an extension to prettier-plugin-twig-melody which should ultimately cover the Twig tags added by Craft CMS.

Installation

yarn add prettier-twig-craft-cms --dev

or

npm install prettier-twig-craft-cms --save-dev

Usage

You have to add this line in your .prettierrc (or prettierrc.json) file:

"twigMelodyPlugins": ["node_modules/prettier-twig-craft-cms"]

This should be it.

About

Craft CMS extension to prettier-plugin-twig-melody

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published