Bastien <bzg <at> gnu.org> writes:

> 
> Hi Ista,
> 
> Ista Zahn <istazahn <at> gmail.com> writes:
> 
> > I'm trying to figure out how to export a line (say "foo") only when
> > exporting to markdown.
> 
> #+BEGIN_MD
> ...
> #+END_MD
> 
> will do.
> 
[snip]

No it won't. 

ox-md.el does not define a transcoder for keyword and falls back to its 
parent:

--8<---------------cut here---------------start------------->8---
#+BEGIN_SRC emacs-lisp :exports both
(org-version)
#+END_SRC

#+RESULTS:
: 8.2.4

#+BEGIN_SRC emacs-lisp :exports both
(assoc 'keyword (org-export-get-all-transcoders 'md))
#+END_SRC

#+RESULTS:
: (keyword . org-html-keyword)
--8<---------------cut here---------------end--------------->8---

HTH,

Chuck



Reply via email to