[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] export (to gfm) with file local variables
From: |
Andreas Leha |
Subject: |
Re: [O] export (to gfm) with file local variables |
Date: |
Fri, 21 Aug 2015 23:43:19 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (darwin) |
Hi Nicolas,
Nicolas Goaziou <address@hidden> writes:
> 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?
>
I can. Thanks a lot. That works as expected.
Regards,
Andreas
- [O] export (to gfm) with file local variables, Andreas Leha, 2015/08/21
- Re: [O] export (to gfm) with file local variables, Andreas Leha, 2015/08/21
- Re: [O] export (to gfm) with file local variables, Nick Dokos, 2015/08/21
- Re: [O] export (to gfm) with file local variables, Andreas Leha, 2015/08/21
- Re: [O] export (to gfm) with file local variables, Nick Dokos, 2015/08/21
- Re: [O] export (to gfm) with file local variables, Andreas Leha, 2015/08/21
- Re: [O] export (to gfm) with file local variables, Nick Dokos, 2015/08/21
- Re: [O] export (to gfm) with file local variables, Andreas Leha, 2015/08/21
- Re: [O] export (to gfm) with file local variables, Nicolas Goaziou, 2015/08/21
- Re: [O] export (to gfm) with file local variables,
Andreas Leha <=