Which Antlers Toolbox products are you requesting a feature for?
[ ] Antlers Toolbox for VS Code
[ ] Antlers Toolbox for VS Code Formatter
[ ] Formatter CLI
[x] Antlers Prettier Plugin
[ ] Antlers Syntax Highlighting (external systems - not VS Code)
Is your feature request related to a problem? Please describe.
Nope!
Describe the solution you'd like
I can currently use the browser-based version of prettier to format antlers code inside Statamic's Codemirror editor. The antlers plugin, however, does not seem to work with it. I'm guessing that's because it relies on node itself somehow. If it's doable, it would be great if it did (but understandable if not :).
Describe alternatives you've considered
I've tried the angular parser plugin, which kind of works, but it has some drawbacks. (1) it doesn't work great with prettier-ignore, (2) it completely breaks if I escape antlers tags (for use with runtime vue), like @{{, and (3) it doesn't do any indentation for antlers tags or control structures.
Which Antlers Toolbox products are you requesting a feature for?
Is your feature request related to a problem? Please describe. Nope!
Describe the solution you'd like I can currently use the browser-based version of prettier to format antlers code inside Statamic's Codemirror editor. The antlers plugin, however, does not seem to work with it. I'm guessing that's because it relies on node itself somehow. If it's doable, it would be great if it did (but understandable if not :).
Describe alternatives you've considered I've tried the angular parser plugin, which kind of works, but it has some drawbacks. (1) it doesn't work great with prettier-ignore, (2) it completely breaks if I escape antlers tags (for use with runtime vue), like
@{{
, and (3) it doesn't do any indentation for antlers tags or control structures.Additional context None