emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Charles Berry <ccberry@ucsd.edu>
To: emacs-orgmode@gnu.org
Subject: Re: Exporting markdown specific string
Date: Sat, 4 Jan 2014 18:09:50 +0000 (UTC)	[thread overview]
Message-ID: <loom.20140104T185634-938@post.gmane.org> (raw)
In-Reply-To: 87k3efzmpg.fsf@bzg.ath.cx

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	other threads:[~2014-01-04 18:10 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-04 15:48 Exporting markdown specific string Ista Zahn
2014-01-04 17:22 ` Bastien
2014-01-04 18:09   ` Charles Berry [this message]
2014-01-04 18:21     ` Bastien
2014-01-04 18:40       ` Charles Berry
2014-01-04 18:50         ` Ista Zahn
2014-01-04 18:24     ` Charles Berry
2014-01-04 19:24   ` Nicolas Goaziou
2014-01-04 20:55     ` Charles Berry
2014-01-04 23:50       ` Nicolas Goaziou
2014-01-05  6:39     ` Bastien
2014-01-06 11:30       ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20140104T185634-938@post.gmane.org \
    --to=ccberry@ucsd.edu \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).