emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] ~"~ doesn't register as verbatim


From: Oleh
Subject: Re: [O] ~"~ doesn't register as verbatim
Date: Tue, 25 Feb 2014 09:42:07 +0100

> Hello Alan,
>
> Alan Schmitt wrote:
>> Oleh <address@hidden> writes:
>>> On Sat, Feb 22, 2014 at 5:06 PM, Oleh <address@hidden> wrote:
>>>> I'm using verbatim markers to export them as <kbd> in HTML.
>>>> But ~"~ isn't recognized as verbatim. I've tried fiddling with 
>>>> org-verbatim-re,
>>>> but it doesn't update on revert-buffer.
>>>>
>>>> Can someone hep me with this?
>>>> Maybe a workaround inline snippet that transforms to <kbd>"</kbd> on
>>>> HTML export?
>>>
>>> Found the work-around:
>>>
>>> @@html:<kbd>"</kbd>@@
>>>
>>> will do what I want.
>>
>> I had a similar question recently
>> (http://thread.gmane.org/gmane.emacs.orgmode/82300). The trick is to
>> change the variable org-emphasis-regexp-components such that the borders
>> part no longer include ".
>
> Could you maybe share your customization, then?
>

I can share it:

    (setcar (nthcdr 2 org-emphasis-regexp-components) " \t\n,'")
    (custom-set-variables `(org-emphasis-alist ',org-emphasis-alist))

regards,
Oleh



reply via email to

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