emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] export (to gfm) with file local variables


From: Nicolas Goaziou
Subject: Re: [O] export (to gfm) with file local variables
Date: Fri, 21 Aug 2015 22:36:43 +0200

Hello,

Nick Dokos <address@hidden> writes:

> That seems to be caused by the empty lines in the Local Variables:
> section of the md file:
>
> <div id="table-of-contents">
> <h2>Table of Contents</h2>
> <div id="text-table-of-contents">
> <ul>
> <li><a href="#orgheadline1">1. Test File</a></li>
> </ul>
> </div>
> </div>
>
> <!-- Some Comment -->
>
> # Test File<a id="orgheadline1"></a>
>
> With text.
>
> <!--
>
> Local Variables:
>
> mode: gfm
>
> markdown-command: "marked"
>
> End:
>
> -->
>
> 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



reply via email to

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