[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [PATCH] Markdown: Add publishing in markdown
From: |
Carsten Dominik |
Subject: |
Re: [O] [PATCH] Markdown: Add publishing in markdown |
Date: |
Wed, 25 Sep 2013 08:54:27 +0200 |
Hi Brice,
applied, thank you!
- Carsten
On 22.9.2013, at 20:32, Brice Waegenire <address@hidden> wrote:
> * lisp/ox-md.el
>
> Add the possibility to publish in Markdown by using the function
> org-md-publish-to-md.
>
> TINYCHANGE
> ---
> diff --git a/lisp/ox-md.el b/lisp/ox-md.el
> index f7e4875..71759ac 100644
> --- a/lisp/ox-md.el
> +++ b/lisp/ox-md.el
> @@ -31,7 +31,7 @@
>
> (eval-when-compile (require 'cl))
> (require 'ox-html)
> -
> +(require 'ox-publish)
>
> ^L
> ;;; User-Configurable Variables
> @@ -477,6 +477,17 @@ Return output file's name."
> (org-export-to-file 'md outfile async subtreep visible-only)))
>
>
> +;;;###autoload
> +(defun org-md-publish-to-md (plist filename pub-dir)
> + "Publish an org file to Markdown.
> +
> +FILENAME is the filename of the Org file to be published. PLIST
> +is the property list for the given project. PUB-DIR is the
> +publishing directory.
> +
> +Return output file name."
> + (org-publish-org-to 'md filename ".md" plist pub-dir))
> +
> (provide 'ox-md)
>
> ;; Local variables:
>
signature.asc
Description: Message signed with OpenPGP using GPGMail