Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Compiler ¶ added in v0.0.4
type Compiler struct {
// contains filtered or unexported fields
}
Compiler is a fluent builder for MJML template compilation.
func (*Compiler) WithBeautify ¶ added in v0.0.4
WithBeautify enables or disables HTML beautification.
func (*Compiler) WithKeepComments ¶ added in v0.0.4
WithKeepComments sets whether to keep XML/HTML comments in output.
func (*Compiler) WithMinify ¶ added in v0.0.4
WithMinify enables or disables HTML minification.
type Option ¶
type Option func(*options)
Option represents functional options for MJML compilation.
func WithBeautify ¶
WithBeautify enables HTML beautification.
func WithKeepComments ¶
WithKeepComments keeps XML/HTML comments in output.
Click to show internal directories.
Click to hide internal directories.