From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastien Vauban Subject: Re: Highlighting text for HTML tag export? Date: Tue, 05 Aug 2014 14:29:22 +0200 Message-ID: <86d2cf2k7x.fsf@somewhere.org> References: <8761i8876z.fsf@tzara.lon.namesco.net> <864mxr469n.fsf@somewhere.org> <874mxr8bgb.fsf@tzara.lon.namesco.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <874mxr8bgb.fsf-74O9e6OEud+Ztc4cxaa3MgHTzkgPINtM@public.gmane.org> (Mash's message of "Tue, 05 Aug 2014 11:31:43 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: "'Mash (Thomas Herbert)" Cc: emacs-orgmode-mXXj517/zsQ@public.gmane.org 'Mash Thomas Herbert wrote: > Sebastien Vauban 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 ... tags? >>> >>> Anyone know if this exists? >> >> You could use org-macros. >> >> Or simply: >> >> #+HTML: >> ... >> #+HTML: > > 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