Next: , Previous: , Up: Integration   [Contents][Index]


5.4 Render HTML files as you edit

Enable ‘M-x wwe-html-autoview-mode RET’ in an HTML file buffer to have it rendered as a web page whenever you save the buffer (see also ‘html-autoview-mode’ if ‘browse-url-wwe’ is set as your ‘browse-url-browser-function’). Add the function to ‘html-mode-hook’ to enable it every time you edit an HTML file.

(add-hook 'html-mode-hook 'wwe-html-autoview-mode)