From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-md fixed-width filter problems Date: Mon, 28 Jan 2013 18:49:28 +0100 Message-ID: <87fw1l9p07.fsf@gmail.com> References: <87d2wp5jft.fsf@tajo.ucsd.edu> <87y5fdjk7o.fsf@tajo.ucsd.edu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57202) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tzswo-0006ws-BK for emacs-orgmode@gnu.org; Mon, 28 Jan 2013 12:57:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TzswC-0005uw-5u for emacs-orgmode@gnu.org; Mon, 28 Jan 2013 12:56:46 -0500 Received: from mail-wi0-f173.google.com ([209.85.212.173]:38628) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TzswB-0005un-Vn for emacs-orgmode@gnu.org; Mon, 28 Jan 2013 12:56:08 -0500 Received: by mail-wi0-f173.google.com with SMTP id hn17so1672022wib.0 for ; Mon, 28 Jan 2013 09:56:07 -0800 (PST) In-Reply-To: <87y5fdjk7o.fsf@tajo.ucsd.edu> (cberry@tajo.ucsd.edu's message of "Mon, 28 Jan 2013 09:22:51 -0800") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: cberry@tajo.ucsd.edu Cc: emacs-orgmode@gnu.org Hello, cberry@tajo.ucsd.edu writes: > cberry@tajo.ucsd.edu 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 "
\n%s
" ... >> >> 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