Skip to content

Commit 12d6eb3

Browse files
committed
update readme
1 parent b3a4142 commit 12d6eb3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ General Options:
2626
>SuperHTML only supports HTML5 (the WHATWG living spec) regardless of what you put in your doctype (a warning will be generated for unsupported doctypes).
2727
2828
>[!WARNING]
29-
>Templated HTML (Jinja2, Angular, Mustache, ...) is not yet supported when all validation rules are enabled, use `--syntax-only` (or the relative Extension Setting in VSCode) to limit validation to syntax errors. Compatibility with populas templating languages is being explored.
29+
>Templated HTML (Jinja2, Angular, Mustache, ...) is not yet supported when all validation rules are enabled, use `--syntax-only` (or the relative Extension Setting in VSCode) to limit validation to syntax errors to use SuperHTML with templated HTML documents.
30+
>
31+
> Compatibility with popular templating languages is being explored.
3032
3133

3234
### Diagnostics
@@ -43,6 +45,10 @@ The autoformatter has two main ways of interacting with it in order to request f
4345
2. Adding / removing whitespace between the **last attribute** of a start tag and the closing `>`.
4446

4547

48+
>[!TIP]
49+
>Consider using `superhtml fmt --check` in your CI to enforce every change to be performed on normalized HTML files. This is a technique commonly used in Zig (and Go) for source code that can also help streamline frontend development.
50+
51+
4652
#### Example of rule #1
4753
Before:
4854
```html

0 commit comments

Comments
 (0)