On Jun 16, 8:19 pm, elffikk <elff...@gmail.com> wrote: > hi, > I like markmin syntax, I am thinking to use it, yet I have a few > questions > - is there a html to markmin converter? (a markmin to html is - /gluon/ > contrib/markmin/markmin2html.py)
yes from gluon.html import markmin_serializer markmin = TAG(html).flatten(markmin_serializer) > - how to emebed flash? yes text=""" bla ``bla``:flash bla """ MARKMIN(text,extra=dict(flash=lambda content: '<embed>...</embed>') > - what about including css or javascript ? (<script>, <link >) text=""" bla ``bla``:js bla """ MARKMIN(text,extra=dict(js=lambda content: '<script>'+content+'</ script>') > > thank you