diff --git a/src/content/docs/reference/configuration.mdx b/src/content/docs/reference/configuration.mdx index 3f4d956c3..7e3aece6b 100644 --- a/src/content/docs/reference/configuration.mdx +++ b/src/content/docs/reference/configuration.mdx @@ -1339,16 +1339,23 @@ Enables Biome's assist for Grit files. ## `html` :::caution -While HTML parser, formatter and linter are enabled by default, they are still considered experimental. +The HTML formatter is **disabled** by default because it is still experimental. Breaking changes will be reduced to a minimum, however the introduction of fixes and features might change the behavior of the tools. ::: ### `html.experimentalFullSupportEnabled` -When enabled, Biome enables full support for HTML-ish languages. Parsing, formatting and linting of +When enabled, Biome enables full support for HTML-ish languages (Vue, Svelte, and Astro files). Parsing, formatting and linting of embedded languages inside these files are consistent. +When disabled, Biome will only extract the JavaScript/TypeScript parts of these files for analysis, while ignoring the rest of the content. + +:::note +Enabling this option merely switches this behavior for these files, not plain `.html` files. To format HTML files, you also +need to enable `html.formatter.enabled`. +::: + ### `html.parser.interpolation` Enables the parsing of double text expressions such as `{{ expression }}` inside `.html` files. @@ -1361,6 +1368,10 @@ Enables Biome's formatter for HTML files. > Default: `false` +:::note +This will be enabled by default when the HTML formatter is no longer experimental. +::: + ### `html.formatter.indentStyle` The style of the indentation for HTML files. It can be `"tab"` or `"space"`.