TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

SuperHTML is here to rescue you from syntax errors, and it's FOSS

52 点作者 rc007 个月前

8 条评论

PreInternet017 个月前
Previous discussion, <i>sans</i> El Reg hyperbole: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=41512213">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=41512213</a>
notpushkin7 个月前
&gt; Author would like to see a switch back to plain old static HTML. Us too<p>Wholeheartedly agree. Can we also go to XHTML5, while on it?
评论 #41926667 未加载
评论 #41927152 未加载
评论 #41926938 未加载
ChrisArchitect7 个月前
Related from same creator, referenced in this article:<p><i>The Static Site Paradox</i><p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=41775238">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=41775238</a>
AlienRobot7 个月前
&gt;This language server is stricter than the HTML spec whenever it would prevent potential human errors from being reported.<p>It doesn&#x27;t support implicitly closing &lt;li&gt;, &lt;p&gt;, &lt;dd&gt;, &lt;dt&gt;, &lt;head&gt;, &lt;body&gt; tags which is one of the best features of HTML if you&#x27;re handwriting it. I assume it doesn&#x27;t support implicitly opening &lt;html&gt;, &lt;head&gt;, and &lt;body&gt; either. Why do I have to skip indenting those levels when I can simply not open the tags?<p>HTML is a terrible language and I&#x27;d rather write some strict superset of it that includes template tags to make it functional. If HTML features are treated as errors, that&#x27;s not a superset.
petesergeant7 个月前
This looks awesome but I don’t really understand the complexities that mean this is new in late 2024 and wasn’t one of the first LSPs implemented? Can someone explain?
评论 #41926527 未加载
评论 #41931329 未加载
评论 #41926291 未加载
评论 #41926100 未加载
Am4TIfIsER0ppos7 个月前
I don&#x27;t suppose there is a Vim version, is there?
评论 #41926668 未加载
评论 #41927098 未加载
评论 #41927492 未加载
mediumsmart7 个月前
I write sites in html and the only thing I need js for is a nav overlay for the phone when they have a nav. And I adore my typos.
TekMol7 个月前
<p><pre><code> the following snippet is correct HTML [...] will still be reported as an error by SuperHTML [...] it&#x27;s most probably a typo </code></pre> Bad. A tool should do one thing and do it will. A tool to verify HTML should verify HTML. Not report errors where there are none.
评论 #41927084 未加载