If you use:

from gluon.contrib.autolinks import expand_one
html = MARKMIN(page.body,url=True,environment={},
                 autolinks=lambda link: expand_one(link,{})).xml()

embedding in markmin any link to a public document (pdf, doc, docx, xls, 
etc.) will call google doc viewer and embed the viewer for the document.

Massimo

On Friday, 7 September 2012 14:41:05 UTC-5, Martin.Mulone wrote:
>
> book app and this are static generation of the content, focus on 
> lightweight aproach. Auth.wiki is all included is a cms, auth, edit create, 
> delete system grid, etc. I think you can render a pdf with no problem from 
> markmin.
>
> 2012/9/7 Andrew W <awill...@gmail.com <javascript:>>
>
>> Good work Martin,
>> I was thinking of looking at the book app for the same purpose.
>> I want to document some Disaster Recovery procedures,  so I therefore 
>> also need to create a PDF version as well.  Do you think the book app vs 
>> auth.wiki() is better (easier?) for generating PDFs.?
>>
>> So many choices!
>>
>> --
>>
>>
>>
>>
>
>
> -- 
> http://martinmulone.com.ar
>

-- 



Reply via email to