[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] problem with markdown exporter
From: |
Nicolas Goaziou |
Subject: |
Re: [O] problem with markdown exporter |
Date: |
Thu, 21 Aug 2014 11:09:45 +0200 |
Hello,
Ken Mankoff <address@hidden> writes:
> I've turn on Markdown exporting with (require 'ox-md). Citations aren't
> being exported properly, so I'm trying to customize it. I have the
> following setup:
>
> (org-add-link-type
> "textcite" (lambda (key) (org-open-file cby-references-file t nil key))
> (lambda (path desc format)
> (cond
> ((eq format 'latex) (format "\\textcite{%s}" path))
> ((eq format 'md) (format "address@hidden" path))
> ((eq format 'odt) (format "%s" desc))
> ((eq format 'html) (format "<cite>%s</cite>" path))
> )))
>
> Which works for latex, odt, and hml. But it doesn't appear that the
> format string is ever being set to 'md, and so the [[cite:foo][Foo,
> YYYY]] in my org file isn't getting converted to address@hidden
This should be fixed. Thank you for reporting it.
Regards,
--
Nicolas Goaziou