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

Developer Loris Cro reckons his LSP language server for HTML is a world first, and that the absence of such tools up to now has had grave consequences for the web.

SuperHTML is a language server that talks to compatible code editing apps over the Language Server Protocol (LSP). What that means is that you can plug it into Visual Studio Code - or many other LSP-compatible editors, from Emacs to Kate to Vim. Or, if you prefer, run it as a standalone tool from the command line. It can also reformat your HTML for you.

That means live on-the-fly validation, and autocorrect for HTML5, as you type. Its author believes this is a first, and that it's also the first built in Wasm using WASI. Live HTML checking isn't unique - his blog post notes that Jetbrains' WebStorm can do it, for instance - but doing it in FOSS in a cross-editor compatible way is.

In a distant and better-forgotten era, The Reg FOSS desk built his homepage in flat static HTML because that is just how things were done around 1996 or so. Even then, we used various web page editors such as what LowEndMac called the irreplaceable Claris Home Page. Syntax checking was largely limited to "does it look right in the WYSIWYG preview?" and occasionally "why is my browser crashing?" But even this doddering web geriatric recognizes that such approaches don't cut the mustard as we approach a quarter of the way through the 21st century.

This also struck SuperHTML's author, who describes what he calls the Static Site Paradox: if you want to host your own website, it's considerably easier to use...

As opposed to:

As he notes, you'd expect that uploading a couple of files to a folder somewhere was the simple approach for a non-techie, whereas an expert would go for the complex but theoretically scalable approach. In fact, today the reverse is true. It is still possible, and occasionally, people still do it, as a very techie acquaintance of this vulture recently demonstrated... but it is sadly rare.

We rather fear that live syntax validation as you hand-code HTML is one answer to this, but on its own isn't sufficient. But we really wish it were - and we would be very happy to be wrong.

As we have described before, there are still some ultra-lightweight web browsers out there, such as the recently revived Dillo. Since that article, Dillo received another update, to version 3.1.1, which coincidentally brings its version number to parity with the latest NetSurf. Perhaps someone somewhere could resurrect a competition for the tiniest and simplest fully functional website, in the spirit of the 5k and the later 10k Apart contest. ®

Search
About Us
Website HardCracked provides softwares, patches, cracks and keygens. If you have software or keygens to share, feel free to submit it to us here. Also you may contact us if you have software that needs to be removed from our website. Thanks for use our service!
IT News
Oct 23
NHS would be hit by 'significant' costs if UK loses EU data status, warn Lords

As another government yet again seeks to reform UK GDPR, legislators say data must continue to flow

Oct 23
Codasip opens up SDK for CHERI protection on RISC-V chips

Alliance commits to Integrating the architecture into all high-tech products

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

Author would like to see a switch back to plain old static HTML. Us too

Oct 23
OpenAI's rapid growth loaded with 'corner case' challenges, says Fivetran CEO

Interview GenAI poster child is a 100-story-tall baby with simple infrastructure but extreme demands

Oct 23
AI firms and civil society groups plead for passage of federal AI law ASAP

Congress urged to act before year's end to support US competitiveness

Oct 23
Huawei makes divorce from Android official with HarmonyOS NEXT launch

Another step toward tech independence for China - on the day Tim Cook came to town

Oct 23
Fujitsu delivers GPU optimization tech it touts as a server-saver

Middleware aimed at softening the shortage of AI accelerators