Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions crates/biome_configuration/src/html.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ pub type HtmlFormatterEnabled = Bool<false>; // Keep it disabled by default whil
pub type HtmlLinterEnabled = Bool<true>;
pub type HtmlAssistEnabled = Bool<true>;
pub type HtmlParseInterpolation = Bool<false>;
pub type HtmlAngularEnabled = Bool<false>;

/// Options that changes how the HTML parser behaves
#[derive(
Expand All @@ -58,6 +59,10 @@ pub type HtmlParseInterpolation = Bool<false>;
pub struct HtmlParserConfiguration {
/// Enables the parsing of double text expressions such as `{{ expression }}` inside `.html` files
pub interpolation: Option<HtmlParseInterpolation>,

/// Enables parsing of Angular syntax
#[bpaf(long("html-parse-angular"), argument("true|false"))]
pub angular: Option<HtmlAngularEnabled>,
}

/// Options that changes how the HTML formatter behaves
Expand Down
158 changes: 158 additions & 0 deletions crates/biome_html_factory/src/generated/node_factory.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

198 changes: 198 additions & 0 deletions crates/biome_html_factory/src/generated/syntax_factory.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading