Subject: eww: Enhance h1, h2 headers etc with text properties

From: Jambunathan K <[email-masked]>
Date: Mon, 02 Sep 2013 10:44:59 +0530

Use case: 

Use eww to import HTML document in to Org format (or arbitrary text
markup format), the dirty way.

----------------------------------------------------------------

How can it be achieved:

1.  The *eww* buffer can slap text properties (like :h1, :h2, :bold) etc
    on to the rendered text.

2. Emacs can offer a search and replace based on *Text Properties*.

   This way I can do, 

   - Search for a text with *italic* face

     Replace it with

        /underlying text/

   - Search for all text with h1

     Replace it with 
     
        * underlying text for h1

  - Search for all text with h2

     Replace it with 
     
        ** underlying text for h2
              
  - Search for a hyperlink

    Replace it with

        [[:href of underlying text][underlying text]]