emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] org-md fixed-width filter problems


From: Nicolas Goaziou
Subject: Re: [O] org-md fixed-width filter problems
Date: Mon, 28 Jan 2013 18:49:28 +0100

Hello,

address@hidden writes:

> address@hidden writes:
>
>> The  :translate-alist for the md backend has no entry for fixed-width,
>> so it defaults to the parent org-e-html-fixed-width which uses
>>
>> (format "<pre class=\"example\">\n%s</pre>" ...
>>
>> So elements 
>>
>> ,----
>> | : like
>> | : this 
>> `----
>>
>> get the html style markup.
>>
>> Some of the markdown processors I use don't like this. pandoc ignores
>> the element entirely. The github blob generator copies it as verbatim.
>>
>> I have been using (fixed-width . org-md-verbatim) instead, but I think
>> this is still not quite right. (IIUC, proper markdown uses four spaces
>> at bol for such elements while org-md-verbatim uses surrounding backtics.)
>>
>> ?
>
> I see now that org-md-example-block formats with the leading spaces.
>
> So I guess my question should have been 
>
>    'should (fixed-width . org-md-example-block) be used?'

Indeed. I have fixed it. Thanks for the suggestion.


Regards,

-- 
Nicolas Goaziou



reply via email to

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