PhoenixKit. Modules. Publishing. PageBuilder. Parser
(PhoenixKitPublishing v0.2.0)
Copy Markdown
View Source
Parses PHK (PhoenixKit) XML-style markup into an AST.
Example input:
<Headline>Welcome to PhoenixKit</Headline>
<Subheadline>Build faster with {{framework}}</Subheadline>
<CTA primary="true" action="/signup">Get Started</CTA>Output AST (one node per top-level element):
%{
type: :headline,
attributes: %{},
content: "Welcome to PhoenixKit"
}
Summary
Functions
Parses PHK XML content into an AST.