[web2py] Re: Strikethrough with MARKMIN

2011-12-28 Thread lyn2py
Appreciate answers / urls instead. I found the strikethrough attribute through google. I've searched through the book. MARKMIN doesn't say anything about strikethroughs. Is MARKMIN documentation complete? Or is strikethrough not recommended to use yet? If I understood the source I wouldn't be

Re: [web2py] Re: Strikethrough with MARKMIN

2011-12-28 Thread Martín Mulone
I think is not there, perhaps you can propose or pass extra argument. Warning: I didn't test it. extra = {'strike':lambda text: SPAN(text, style='color:red;text-decoration:line-through').xml()} MARKMIN(text, extra) 2011/12/28 lyn2py lyn...@gmail.com Appreciate answers / urls instead. I

Re: [web2py] Re: Strikethrough with MARKMIN

2011-12-28 Thread Martín Mulone
I forget how to use it in content :P `my text`:strike 2011/12/28 Martín Mulone mulone.mar...@gmail.com I think is not there, perhaps you can propose or pass extra argument. Warning: I didn't test it. extra = {'strike':lambda text: SPAN(text,

[web2py] Re: Strikethrough with MARKMIN

2011-12-28 Thread Massimo Di Pierro
even without the extra you should be able to do style.strike {color:red;text-decoration:line-through}/style {{=MARKMIN('.``text``:strike ')}} unkown tags are mapped into classes. On Dec 28, 10:29 am, Martín Mulone mulone.mar...@gmail.com wrote: I forget how to use it in content :P

[web2py] Re: Strikethrough with MARKMIN

2011-12-28 Thread lyn2py
Thanks Massimo and Martin! Didn't realize that MARKMIN has this feature On Dec 29, 12:38 am, Massimo Di Pierro massimo.dipie...@gmail.com wrote: even without the extra you should be able to do style.strike {color:red;text-decoration:line-through}/style {{=MARKMIN('.``text``:strike