You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+102-3Lines changed: 102 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,6 @@ Actually functional HTML Language Server (and Templating Language Library).
4
4
**NOTE: SuperHTML is still incomplete, some features are missing and looking of somebody to implement them :^)**
5
5
*And there's also bugs, waiting for people to report them as Issues :^)*
6
6
7
-

8
-
9
7
## HTML Language Server
10
8
The Super CLI Tool offers syntax checking and autoformatting features for HTML files.
11
9
@@ -22,11 +20,112 @@ General Options:
22
20
--help, -h Print command specific usage
23
21
```
24
22
25
-
### VSCode Support
23
+
### Diagnostics
24
+
25
+
<imgsrc=".github/vscode.png"width="70%">
26
+
27
+
This language server is stricter than the HTML spec whenever it would prevent potential human errors from being reported.
28
+
29
+
30
+
As an example, HTML allows for closing some tags implicitly. For example the following snipped is correct HTML.
31
+
32
+
```html
33
+
<ul>
34
+
<li> One
35
+
<li> Two
36
+
</ul>
37
+
```
38
+
39
+
This will still be reported as an error by SuperHTML because otherwise the following snippet would have to be considered correct (while it's much probably a typo):
0 commit comments