From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: Re: embed markdown? Date: Thu, 10 Mar 2011 09:49:09 +0100 Message-ID: <4D789085.8050007@christianmoe.com> References: <874o7btn1b.fsf@gmail.com> Reply-To: mail@christianmoe.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=55233 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxbVv-00064H-BP for emacs-orgmode@gnu.org; Thu, 10 Mar 2011 03:46:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PxbVu-0007EC-8M for emacs-orgmode@gnu.org; Thu, 10 Mar 2011 03:46:31 -0500 Received: from mars.hitrost.net ([91.185.211.18]:31843) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PxbVu-00071y-33 for emacs-orgmode@gnu.org; Thu, 10 Mar 2011 03:46:30 -0500 In-Reply-To: <874o7btn1b.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Fred Concklin Cc: emacs-orgmode@gnu.org Hi, Fred, About Github's markup library and org plugin (not Pandoc), see https://github.com/github/markup If it's just the ascii-art representation of the directory tree you want, you can wrap it in an example block. From your example: #+BEGIN_EXAMPLE . |-- config.clj `-- resources |-- posts | |-- 2009-04-17-back-up-and-restore-a-mysql-database.markdown | |-- 2010-02-10-a-simple-clojure-irc-client.markdown | `-- 2010-08-02-using-clojure-contrib-generic-interfaces.markdown |-- public | `-- 404.html |-- site | `-- index.markdown `-- templates `-- default.clj #+END_EXAMPLE If you want fancier output, you may want to look into using ditaa or Graphviz dot with org-babel. Yours, Christian On 3/10/11 9:09 AM, Fred Concklin wrote: > Hi all, > > I'm Fred and I just joined the list. > > I've been using github for a little bit and really like their parsing > of org-mode files on the web[1]. I was converting a markdown file to > org-mode wasn't able to figure out how to convert a directory > hierarchy from Md. > > I've attached links to show you what I mean. Let me know if anybody > has any thoughts. Maybe tables? It all comes down to how github > renders org on their site in this case. > > Is there a way to embed markdown as code inside of org? > > unrendered-md: https://github.com/nakkaya/static/raw/master/README.md > rendered-md: https://github.com/nakkaya/static/blob/master/README.md > org-mode: https://github.com/fconcklin/static/blob/master/readme.org > > Thanks all, > fpc > > [1] I assume they're running pandoc on the backend. However, there are a few > shortcomings. For instance, the #+begin_src sh tag doesn't display as > code on the web. > >