News for hackers. Stuff that matters.
Re:Show HN: A VSCode Extension to edit HTML visually in real... by smusamashah on Monday October 14, 2024 @03:02AM (#41834951)
This is useful. I am occasionally day dreaming about moving my static site from Hugo to pure html which I write/edit myself.

Do these features depend on complexity of the html or that doesn't matter? Does Javascript work in live preview?

Re:Show HN: A VSCode Extension to edit HTML visually in real... by urin on Monday October 14, 2024 @03:25AM (#41835083)
It doesn't matter if it's complex. I believe this tool can be applied if it consists of a single HTML file and the resources linked to it. If you're using Web Components, there may be some issues. JavaScript is currently disabled because it's difficult to determine its impact, but enabling it is technically very simple. If there is enough demand in the future, I will add an option to control the functionality of JavaScript.
Re:Show HN: A VSCode Extension to edit HTML visually in real... by netdevnet on Monday October 14, 2024 @04:58AM (#41835615)
Why do you fantasise about writing pure html manually for an entire website? Haven't you done it before?
Re:Show HN: A VSCode Extension to edit HTML visually in real... by smusamashah on Tuesday October 15, 2024 @12:59PM (#41850593)
Because I don't understand the template language used by Hugo. The syntax is weird, using features is complicated. Everytime i thinking of changing something in my site, it feels like PTSD thinking about touching that code.

If it was just html, I could modify it easily. But doing big structural changes in many html files is as painful. Visual tools, like this one should help with that.