Search code examples
emacsnxhtml

Easy testing of HTML with emacs


Suppose I type some HTML code into emacs and would like to preview its result in a web browser without having type something outside of emacs. What's the best way to do this?


Solution

  • The command is browse-url-of-buffer not sure how it's bound in nxhtml. In html-mode, it's C-c C-v.