Hi Nicolas,

Nicolas Goaziou <m...@nicolasgoaziou.fr> writes:
> Hello,
>
> Nick Dokos <ndo...@gmail.com> 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?
>

I can.  Thanks a lot.  That works as expected.

Regards,
Andreas


Reply via email to