Versions in this module Expand all Collapse all v0 v0.5.0 Jul 17, 2026 v0.4.0 Jul 17, 2026 Changes in this version + func ApplyPrettier(t *parser.TemplateFile, config Config) (err error) + func Attributes(children []parser.Node, prettierCommand string) error + func ScriptElement(se *parser.ScriptElement, depth int, prettierCommand string) (err error) + func StyleElement(se *parser.RawElement, depth int, prettierCommand string) (err error) + func Templ(src []byte, fileName string, config Config) (output []byte, changed bool, err error) + type Config struct + PrettierCommand string + PrettierRequired bool