From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: export (to gfm) with file local variables Date: Fri, 21 Aug 2015 23:43:19 +0100 Message-ID: References: <87mvxkvh84.fsf@alphaville.usersys.redhat.com> <8737zcz99j.fsf@alphaville.usersys.redhat.com> <87egiwjs4k.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48537) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSv3e-0005cy-71 for emacs-orgmode@gnu.org; Fri, 21 Aug 2015 18:45:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZSv3a-0006iE-7n for emacs-orgmode@gnu.org; Fri, 21 Aug 2015 18:45:10 -0400 Received: from plane.gmane.org ([80.91.229.3]:46271) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSv3a-0006fP-23 for emacs-orgmode@gnu.org; Fri, 21 Aug 2015 18:45:06 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZSv3Y-0005OF-Bj for emacs-orgmode@gnu.org; Sat, 22 Aug 2015 00:45:04 +0200 Received: from cpc33-cmbg15-2-0-cust4.5-4.cable.virginm.net ([81.102.136.5]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 22 Aug 2015 00:45:04 +0200 Received: from andreas.leha by cpc33-cmbg15-2-0-cust4.5-4.cable.virginm.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 22 Aug 2015 00:45:04 +0200 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: emacs-orgmode@gnu.org Hi Nicolas, Nicolas Goaziou writes: > 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? > I can. Thanks a lot. That works as expected. Regards, Andreas