Lurker News
Hello HN, I hope it will posted as well. I made a note in single html file. This does not require a separate membership or installation of the software, and if you download and modify an empty file, you can modify and read it at any time, regardless of online or offline. It can be shared through messengers such as Telegram, so it is also suitable to share contents with long articles and images. It is also possible to host and blog because it is static html file content.

Comments (143) 59 threads

Show all comments

Showing thread 7 of 59

genshii2 replies#
This is cool. It's funny how we are (or maybe just I am) so used writing the JS parts of websites outside of the actual HTML that my first thought upon seeing this was "wow it's crazy that this can be done with just HTML". And then looking at the source and seeing all the JS in plain old script tags made me remember that that's a thing that you can do.
hakaneskici2 replies#
HTML is underrated. Most of the screens we look at daily, including our code editor are HTML pages.
OtomotO3 replies#
Eh, no?

My Code editor is NeoVim or it's IntelliJ
But there is no HTML page involved at all.
What I want to hint at: You're extrapolating the usage of VSCode.

sanex1 reply#
According to the latest stack overflow dev survey 74% of respondents use vs code. I think it's a pretty safe statement.
dxdm5 replies#
It's interesting, I also do not like the implication that we are all using vscode and feel slightly offended that someone would assume that I do. (The original statement is worded ambiguously and can be understood in this way.)

Anyway, I find it remarkable that a piece of software that I don't even use can trigger such a reaction in me, from a perfectly benign and innocent statement about the prevalence of HTML.

Continue this thread — 5 replies

harrisonjackson#
Pretty sure IntelliJ contains a bunch of bundled webviews for various things.

Also, extrapolating usage of vscode seems pretty fair since they said "most"

hakaneskici1 reply#
As a side joke regarding vim; I have a theory that my exposure to typewriters as a kid prevented me from adopting vim as an editor :)

Pressing the letter keys for anything other than typing feels so weird to me. My brain might still be thinking of the SHIFT key as a physical modifier that literally shifts the typewriter letters from uppercase to lowercase position.
I admire fast vim users, it's a joy to watch them code.

Continue this thread — 1 reply

dotancohen1 reply#
VIM is an HTML page? Or JetBrains editors render an HTML page?

I know that some people code in an HTML page rendered in Electron, that would be Atom and VS Code and family, but that's far enough from the majority of people that declaring "our code editor" is disingenuous.

sanex2 replies#
See my other comment in this thread. It's 3/4 devs according to SO.

Continue this thread — 2 replies

noduerme#
Not necessarily a thing you should do if you want any kind of separability or version control. But definitely a thing you can do.

What blows my mind is that people use frameworks where they include stuff that's not even JS in their HTML, stuff that needs external JS to attach to it or hydrate it. That feels like the worst of both worlds.
I definitely come from an opposite place where JS is king and I don't have any files with an ".html" extension exept for "index.html". And I don't have any HTML in my JS, either. Anything that's a partial template is ".htm" and gets hydrated before it gets added to the DOM.