From: 'Mash (Thomas Herbert) <mashdot@toshine.net>
To: Sebastien Vauban <sva-news@mygooglest.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Highlighting text for HTML <mark> tag export?
Date: Tue, 05 Aug 2014 11:31:43 +0100 [thread overview]
Message-ID: <874mxr8bgb.fsf@tzara.lon.namesco.net> (raw)
In-Reply-To: <864mxr469n.fsf@somewhere.org>
Thanks Sebastien, unfortunately this is not that useful if you simply
want to highlight words or a sentence in a paragraph.
BTW for anyone who is interested I discovered "Wrap Region" (https://github.com/rejeep/wrap-region.el) which is pretty
useful. You can select a region, hit a key and it will pair it.
I was using this for example:
(wrap-region-add-wrapper "<mark>" "</mark>" "m")
Unfortunately using HTML markup in an org file, org-ruby doesn't parse
these tags.
Might be an interesting feature request to to coinside with _underline_,
*bold*, etc
Sebastien Vauban <sva-news@mygooglest.com> writes:
> 'Mash wrote:
>> Just been looking around and I have not come across a way to "highlight"
>> text in org-mode to be HTML exported as the <mark>...</mark> tags?
>>
>> Anyone know if this exists?
>
> You could use org-macros.
>
> Or simply:
>
> #+HTML: <mark>
> ...
> #+HTML: </mark>
>
> Best regards,
> Seb
--
Thomas Herbert
next prev parent reply other threads:[~2014-08-05 10:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-04 17:59 Highlighting text for HTML <mark> tag export? 'Mash
2014-08-05 9:47 ` Sebastien Vauban
2014-08-05 10:31 ` 'Mash [this message]
[not found] ` <874mxr8bgb.fsf-74O9e6OEud+Ztc4cxaa3MgHTzkgPINtM@public.gmane.org>
2014-08-05 12:29 ` Sebastien Vauban
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.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874mxr8bgb.fsf@tzara.lon.namesco.net \
--to=mashdot@toshine.net \
--cc=emacs-orgmode@gnu.org \
--cc=sva-news@mygooglest.com \
/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/org-mode.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).