emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Customize html formatting tags for export


From: Marcin Borkowski
Subject: Re: [O] Customize html formatting tags for export
Date: Wed, 28 Jan 2015 22:01:11 +0100

On 2015-01-28, at 21:40, Tory S. Anderson <address@hidden> wrote:

> Right now I see that =formatted= and ~formatted~ both produce 
> <code>formatted</code> when exported to html. How can I change one of these, 
> perhaps to a custom tag (in particular, I'm hoping to produce 
> <kbd>formatted</kbd>)? 

See ox-html.  There are functions org-html-verbatim and org-html-code.
If you look at those, you can see that (even though it might be
a quick-and-dirty hack) customizing org-html-text-markup-alist should
work.  You might even utilize the strike-through, if you never use it.

Hth,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University



reply via email to

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