help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to quote region into HTML tags?


From: Kevin Rodgers
Subject: Re: How to quote region into HTML tags?
Date: Wed, 23 Apr 2003 12:11:31 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Jesper Harder wrote:

wang yin <wy@wangyin.com> writes:
I want to quote some text in a region into HTML tags.

for example, I want to change

here is some text

into

<H3>here is some text</H3>

How can I do this with HTML mode?

It works if you turn on transient mark mode, `M-x transient-mark-mode'.
Then the region will be highlighted, and inserted in the tag when you
use one of HTML mode shortcuts, say, `C-c 3' for <h3>.

Or even with transient mark mode off, mark the region then `C-u C-c 3'.


--
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;";>Kevin Rodgers</a>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]