schacon / git-scribe

basically the best way to write an ebook
MIT License
1.35k stars 120 forks source link

port pro git to asciidoc for git-scribe generation #16

Open schacon opened 13 years ago

schacon commented 13 years ago

we need a real example

matthewmccullough commented 10 years ago

Just FYI @mojavelinux that there's interest in this happening from Scott's standpoint. Note that source of Pro Git is at https://github.com/progit/progit

mojavelinux commented 10 years ago

A good Markdown to AsciiDoc converter is one of my main goals for 2014 (ideally in Q1). I think the ticket will be Kramdown since it provides a full Ruby-based AST for Markdown. From an AST, conversion to the Asciidoctor AST is pretty straightforward. Then, I can use Asciidoctor templates or custom renderer to generate the AsciiDoc output.

I have a prototype of some of this working already, so I'll share a link once I get it pushed to a git repo.

mojavelinux commented 10 years ago

I know that pandoc does a decent job of converting to AsciiDoc, but I'd really like to have a tool that gives us more control and integrates with the Asciidoctor APIs.