* Highlighting text for HTML <mark> tag export?
@ 2014-08-04 17:59 'Mash
2014-08-05 9:47 ` Sebastien Vauban
0 siblings, 1 reply; 4+ messages in thread
From: 'Mash @ 2014-08-04 17:59 UTC (permalink / raw)
To: emacs-orgmode
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?
Thanks,
--
'Mash
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Highlighting text for HTML <mark> tag export?
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
0 siblings, 1 reply; 4+ messages in thread
From: Sebastien Vauban @ 2014-08-05 9:47 UTC (permalink / raw)
To: emacs-orgmode-mXXj517/zsQ
'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
--
Sebastien Vauban
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Highlighting text for HTML <mark> tag export?
2014-08-05 9:47 ` Sebastien Vauban
@ 2014-08-05 10:31 ` 'Mash
[not found] ` <874mxr8bgb.fsf-74O9e6OEud+Ztc4cxaa3MgHTzkgPINtM@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: 'Mash @ 2014-08-05 10:31 UTC (permalink / raw)
To: Sebastien Vauban; +Cc: emacs-orgmode
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Highlighting text for HTML <mark> tag export?
[not found] ` <874mxr8bgb.fsf-74O9e6OEud+Ztc4cxaa3MgHTzkgPINtM@public.gmane.org>
@ 2014-08-05 12:29 ` Sebastien Vauban
0 siblings, 0 replies; 4+ messages in thread
From: Sebastien Vauban @ 2014-08-05 12:29 UTC (permalink / raw)
To: 'Mash (Thomas Herbert); +Cc: emacs-orgmode-mXXj517/zsQ
'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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-08-05 12:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.