- Add support for Mustache Templating strings.
- New Setup AMPscript option which allows to set Mustach Templating tags used.
- Refactors.
- Broken formatting on Output/Print AMPscript (the %%==%% syntax).
- Bundled the module.
- Changed prettier to v3, but switched to standalone version due to issues with webpack and jest.
- Formatting getting broken by variables, strings, etc. that collided with keywords. E.g.: `SET @myNextVar = "my set variable".
- All variables are now "cased" (upper/lower case) based on the first occurrence.
- Refactors, bug fixes, improved docs, more unit tests.
- new parameter on beautify to switch off HTML formatting (useful if HTML is broken)
- multiline comments improved,
- standalone methods are now formatted as methods, and not merged with keyword,
- new option to use a
.beautyamp.json
file for the setup, - logger defaults to OFF,
- test cases added.
- changed beautify() to async
- Prettier formatting for HTML.
- Small tweaks.