[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: |
Thu, 29 Jan 2015 12:10:48 +0100 |
On 2015-01-29, at 11:55, Tory S. Anderson <address@hidden> wrote:
> Thanks. With that info I did this:
>
> --8<---------------cut here---------------start------------->8---
> ;; convert =C-x=a to <kbd>C-x</kbd>, *awesome* to <strong>awesome</strong>
> (setq org-html-text-markup-alist '((bold . "<strong>%s</strong>") ; *text*
> (code . "<code>%s</code>") ; ~text~
> (italic . "<i>%s</i>") ; /text/
> (strike-through . "<del>%s</del>") ; +text+
> (underline . "<span class=\"underline\">%s</span>") ; _text_
> (verbatim . "<kbd>%s</kbd>"))) ; =text=
> --8<---------------cut here---------------end--------------->8---
>
> It seems to work great! I failed finding a way to make this just a buffer
> local change (e.g. only when I'm writing in my tech blog org file), but I can
> live with that.
While we are at dirty hacks: did you try make-local-variable (which see)?
Hth,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University