News for hackers. Stuff that matters.
Re:Foolproof HTML by escherize on Sunday February 05, 2017 @05:47AM (#13571784)
About the gif at the bottom of the page, where a div is swapped in place with an html sister node...

That's 100% possible to do in Emacs, while editing plain html, using smartparens-strict-mode. Basically it treats the HTML like lisp code, so by "autobalancing parens" the editor lets you swap-sexps, which would perform the same transformation as the drag and drop in the editor, but much quicker and easier (as long as u can invest in learning the keys.)!

Of course with Hiccup[0] or Reagent[1] code in Clojure/script, it's perfectly possible too. The same keybindings even.

[0] http://hiccup.space [1] http://cljsfiddle.com

(I'm the author of those little projects)

There are no comments on this comment yet.