Skip to content

Any recommended tools to format .tpl files? Especially for use in a CI system #1136

Answered by wisskid
JohnVillalovos asked this question in Q&A
Discussion options

You must be logged in to vote

js-beautify can format .tpl files. For example, you can run: js-beautify --type html --templating smarty --indent-size 4 --replace path/to/templates/*.tpl.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JohnVillalovos
Comment options

Answer selected by JohnVillalovos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants