News for hackers. Stuff that matters.
Re:A little bit of plain JavaScript can do a lot by mbrock on Sunday June 21, 2020 @02:56AM (#23590375)
It's pretty nice but doesn't play so nicely with editor indenting modes and stuff like that, so there are some reasons to use normal JavaScript function calls instead.
Re:A little bit of plain JavaScript can do a lot by fiddlerwoaroof on Sunday June 21, 2020 @08:04PM (#23596321)
In emacs, with evil mode, I can do:

    <esc>vi`:edit-indirect-region<ret>:html-mode
And edit the string contents as HTML.
Re:A little bit of plain JavaScript can do a lot by spankalee on Monday June 22, 2020 @12:47PM (#23602401)
There are plugins for many editors that give syntax highlighting, code completion, type-checking, etc. The experience is great.