From: Jambunathan K <kjambunathan@gmail.com>
To: 15244@debbugs.gnu.org
Subject: bug#15244: eww: Enhance h1, h2 headers etc with text properties
Date: Mon, 02 Sep 2013 10:44:59 +0530 [thread overview]
Message-ID: <87vc2jyfcc.fsf@gmail.com> (raw)
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]]
next reply other threads:[~2013-09-02 5:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-02 5:14 Jambunathan K [this message]
2013-09-02 5:24 ` bug#15244: eww: Enhance h1, h2 headers etc with text properties Jambunathan K
2013-11-15 4:54 ` Jambunathan K
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vc2jyfcc.fsf@gmail.com \
--to=kjambunathan@gmail.com \
--cc=15244@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).