Greetings Asciidoctors, 

I am pleased to announce the first alpha for v9.0:

  http://ygingras.net/files/asciidoc-8.99.tar.gz

It features:
 * AsciiDoc as a Python module
 * easy_installable
 * public Asciidoc API
 * does not depend on /bin/sh or hardcoded paths

Quick API usage example:

  import asciidoc
  body = "W00t!\n=====\n\nThis is cool!"
  data = asciidoc.render(body)

  from asciidoc import a2x
  data = a2x.render(body, dict(format="xhtml", icons=True), 
                          dict(author="Yannick Gingras", 
                               revision="0.1"))

The modules and the most relevant function have docstrings.  The
manpages and the vim syntax file are not installed at the moment.

I would appreciate if you could give it a try to spot bugs but mostly
to see if you like the API; it's not too late to change it.  The
bleeding edge is available in my branch:

  hg clone static-http://ygingras.net/files/asciidoc.hg asciidoc-9x

Happy new year!

-- 
Yannick Gingras
_______________________________________________
asciidoc-discuss mailing list
[email protected]
http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss

Reply via email to