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


5.2 Render HTML

Use ‘M-x wwe-render-region-other-window RET’ to render any region of HTML as a ‘wwe-mode’ web page in a new window. Render an HTML buffer by typing ‘M-x wwe-render-buffer RET’. It will use the chosen buffer and render the page in ‘wwe-mode’.

Type a prefix argument like ‘C-u’ in front of these commands to enter a URL to make links that lead to the correct destination.

The function ‘wwe-render-region’ can be used by other packages and functions to render HTML. To use it as the renderer in Newsticker, for example, add the following to your .emacs:

(setq newsticker-html-renderer 'wwe-render-region)

To remove HTML tags in a buffer type ‘M-x wwe-render-strip-html RET’. See also the Emacs command ‘M-x sgml-tags-invisible RET’ which doesn’t actually strip the tags.