Andreas Leha <andreas.l...@med.uni-goettingen.de> writes: > I forgot... > > Andreas Leha <andreas.l...@med.uni-goettingen.de> writes: >> Hi all, >> >> How can I make my toy sample file below export properly to github >> flavoured markdown (using ox-gfm)? >> >> (Of course including the file local variables in exported *.md file...) > > ... and without having them apply to the current *.org file. > >> >> If I try I get >> ,---- >> | hack-local-variables: Malformed local variable line: "" >> `---- >> >> Thanks, >> Andreas >> >> >> PS: the sample file >> >> #+md: <!-- Some Comment --> >> >> * Test File >> >> With text. >> >> >> #+md: <!-- >> #+md: Local Variables: >> #+md: mode: gfm >> #+md: markdown-command: "marked" >> #+md: End: >> #+md: --> > >
Add a noexport section with a control-L as contents at the end. Emacs only looks at the last "page" of the file for local variables so the control-L will stop it. Nick