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.
>
>