emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: "'Mash (Thomas Herbert)"
	<mashdot-MOF+Po1L5xPR7s880joybQ@public.gmane.org>
Cc: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: Highlighting text for HTML <mark> tag export?
Date: Tue, 05 Aug 2014 14:29:22 +0200	[thread overview]
Message-ID: <86d2cf2k7x.fsf@somewhere.org> (raw)
In-Reply-To: <874mxr8bgb.fsf-74O9e6OEud+Ztc4cxaa3MgHTzkgPINtM@public.gmane.org> (Mash's message of "Tue, 05 Aug 2014 11:31:43 +0100")

'Mash Thomas Herbert wrote:
> Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org> 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>
>
> Thanks Sebastien, unfortunately this is not that useful if you simply
> want to highlight words or a sentence in a paragraph.
>
> 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

You can always update your definition of `org-emphasis-alist', but I'm
not sure Nicolas would say it's the right thing to do.

Note that I've always wanted to add such a new marker (marked up by `!')
that would be some sort of highlighting `alert' (and seen in red, for
example, in my Org buffer).

OTOH, having such could allow to have *...* mapped to bold and !...!
mapped to alert in both LaTeX and Beamer [1].

Best regards,
  Seb

[1] Right now, *...* is mapped to bold in LaTeX and to alert in Beamer.

-- 
Sebastien Vauban

      parent reply	other threads:[~2014-08-05 12:29 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
     [not found]     ` <874mxr8bgb.fsf-74O9e6OEud+Ztc4cxaa3MgHTzkgPINtM@public.gmane.org>
2014-08-05 12:29       ` Sebastien Vauban [this message]

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=86d2cf2k7x.fsf@somewhere.org \
    --to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
    --cc=mashdot-MOF+Po1L5xPR7s880joybQ@public.gmane.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/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).