From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: export (to gfm) with file local variables Date: Fri, 21 Aug 2015 22:36:43 +0200 Message-ID: <87egiwjs4k.fsf@nicolasgoaziou.fr> References: <87mvxkvh84.fsf@alphaville.usersys.redhat.com> <8737zcz99j.fsf@alphaville.usersys.redhat.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38264) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSt1n-000667-AY for emacs-orgmode@gnu.org; Fri, 21 Aug 2015 16:35:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZSt1m-0006nZ-I7 for emacs-orgmode@gnu.org; Fri, 21 Aug 2015 16:35:07 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:54936) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSt1m-0006ky-C1 for emacs-orgmode@gnu.org; Fri, 21 Aug 2015 16:35:06 -0400 In-Reply-To: <8737zcz99j.fsf@alphaville.usersys.redhat.com> (Nick Dokos's message of "Fri, 21 Aug 2015 16:17:28 -0400") 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: Nick Dokos Cc: emacs-orgmode@gnu.org Hello, Nick Dokos writes: > That seems to be caused by the empty lines in the Local Variables: > section of the md file: > >
>

Table of Contents

>
> >
>
> > > > # Test File > > With text. > > > > If I get rid of them manually, I think it goes away (although I don't > have gfm installed, so it complains about gfm-mode). > > That seems to be an ox-md (or perhaps ox-html) issue however and I'm not > equipped to wade into those waters. Assuming this is correct, maybe you > can add a filter to get rid of the empty lines? AFAIR, Markdown requires a blank line between elements (e.g., paragraphs). I haven't followed the thread, but can't you use #+begin_markdown ... #+end_markdown instead? Regards, -- Nicolas Goaziou