From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ista Zahn Subject: Export each top level heading to separate file Date: Sat, 4 Jan 2014 17:29:02 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46739) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VzZie-0000pO-WA for emacs-orgmode@gnu.org; Sat, 04 Jan 2014 17:29:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VzZie-0005S2-1D for emacs-orgmode@gnu.org; Sat, 04 Jan 2014 17:29:24 -0500 Received: from mail-pa0-x230.google.com ([2607:f8b0:400e:c03::230]:56135) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VzZid-0005Rw-PP for emacs-orgmode@gnu.org; Sat, 04 Jan 2014 17:29:23 -0500 Received: by mail-pa0-f48.google.com with SMTP id rd3so17056256pab.21 for ; Sat, 04 Jan 2014 14:29:22 -0800 (PST) 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: emacs-orgmode Mailinglist Hi all, I'm looking for a way to export each top-level heading to a separate markdown file. Ideally I would like to have the exported files named according to the heading. For example I would like this org file ----------------------------------- * Section one Section one text * Section two ** Section two a Section two text * Section three Section three text ----------------------------------- To generate three files: --- Section one.md --- Section one text ----------------------------------- --- Section two.md--- ## Section two a Section two text ----------------------------------- --- Section three.md - # Section three Section three text ----------------------------------- I suspect that the publishing framework might support this, but I've thus far avoided it because it looks pretty complicated to set up. Before I dive in I'd like to know if the publishing framework is the correct place to look for this functionality or if there is an easier way to do it. Thanks, Ista