Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attributes ¶
type Attributes = orderedmap.OrderedMap[string, string]
type MJMLComponent ¶
type MJMLIncludedIn ¶
type MJMLNode ¶
type MJMLNode struct {
File string
Line int
AbsoluteFilePath string
TagName string
IncludedIn []*MJMLIncludedIn
Attributes *Attributes
Content string
Parent *MJMLNode
Children []*MJMLNode
Err error
}
func MJMLParser ¶
func MJMLParser(xml []byte, options MJMLParserOptions, includedIn []*MJMLIncludedIn) (*MJMLNode, error)
type MJMLParserOptions ¶
type MJMLParserOptions struct {
AddEmptyAttributes bool
Components []MJMLComponent
ConvertBooleans bool
KeepComments bool
FilePath string
ActualPath string
IgnoreIncludes bool
Preprocessors []MJMLPreprocessor
}
type MJMLPreprocessor ¶
Click to show internal directories.
Click to hide internal directories.