From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: ox-md export title block Date: Fri, 23 Oct 2015 22:39:41 +0200 Message-ID: <87bnbpz5de.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zpj69-0000IE-Gm for emacs-orgmode@gnu.org; Fri, 23 Oct 2015 16:38:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zpj68-0006fo-Dk for emacs-orgmode@gnu.org; Fri, 23 Oct 2015 16:38:01 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:60205) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zpj68-0006fY-6z for emacs-orgmode@gnu.org; Fri, 23 Oct 2015 16:38:00 -0400 In-Reply-To: (Matt Price's message of "Fri, 23 Oct 2015 13:37:22 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Matt Price Cc: Org Mode Hello, Matt Price writes: > I don't know that much about markdown, and I know there are many different > flavours. pandoc can make use of title, author, and date info in a > markdown file -- from what i cna tell, it expects a "title block atthe head > of a file (http://pandoc.org/README.html#extension-pandoc_title_block) > > % author > % title > % date > > I have a simple, inadequate patch to ox-md-template that inserts this info. > It's a start maybe for a better patch? Thank you for the patch. However, "ox-md.el" is for Vanilla Markdown, where such constructs do not exist. So it cannot be applied there. ISTR there are a few others export back-ends in contrib/ that may use this. You may also create ox-md-pandoc.el if it doesn't exist already. Regards, -- Nicolas Goaziou