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: cberry
Subject: Re: [O] org-md fixed-width filter problems
Date: Mon, 28 Jan 2013 09:22:51 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

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?'

Chuck

-- 




reply via email to

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