Charles Berry <ccberry <at> ucsd.edu> writes: > > 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:
OOPS! I meant 'export-block' --8<---------------cut here---------------start------------->8--- #+BEGIN_SRC emacs-lisp :exports both (assoc 'export-block (org-export-get-all-transcoders 'md)) #+END_SRC #+RESULTS: : (export-block . org-html-export-block) --8<---------------cut here---------------end--------------->8--- Chuck