[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 
wrote:
> even without the extra you should be able to do
>
> .strike {color:red;text-decoration:line-through}
> {{=MARKMIN('.``text``:strike ')}}
>
> unkown tags are mapped into classes.
>
> On Dec 28, 10:29 am, Martín Mulone  wrote:
>
>
>
>
>
>
>
> > I forget how to use it in content :P
>
> > `my text`:strike
>
> > 2011/12/28 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 
>
> > >> 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 asking here.
>
> > >> On Dec 28, 8:09 pm, Manuele Pesenti  wrote:
> > >> > Il 28/12/2011 07:08, lyn2py ha scritto:
>
> > >> > > How do I strikethrough some text using MARKMIN?
>
> > >> > > It's not available in the book, but I noticed that MARKMIN has a
> > >> > > strikethrough attribute.
>
> > >> > use the source... young Skywalker! :)
>
> > >> >      M.
>
> > >> > > Thanks!
>
> > > --
> > >  http://martin.tecnodoc.com.ar
>
> > --
> >  http://martin.tecnodoc.com.ar


[web2py] Re: Strikethrough with MARKMIN

2011-12-28 Thread Massimo Di Pierro
even without the extra you should be able to do


.strike {color:red;text-decoration:line-through}
{{=MARKMIN('.``text``:strike ')}}

unkown tags are mapped into classes.


On Dec 28, 10:29 am, Martín Mulone  wrote:
> I forget how to use it in content :P
>
> `my text`:strike
>
> 2011/12/28 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 
>
> >> 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 asking here.
>
> >> On Dec 28, 8:09 pm, Manuele Pesenti  wrote:
> >> > Il 28/12/2011 07:08, lyn2py ha scritto:
>
> >> > > How do I strikethrough some text using MARKMIN?
>
> >> > > It's not available in the book, but I noticed that MARKMIN has a
> >> > > strikethrough attribute.
>
> >> > use the source... young Skywalker! :)
>
> >> >      M.
>
> >> > > Thanks!
>
> > --
> >  http://martin.tecnodoc.com.ar
>
> --
>  http://martin.tecnodoc.com.ar


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 

> 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 
>
>> 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 asking here.
>>
>> On Dec 28, 8:09 pm, Manuele Pesenti  wrote:
>> > Il 28/12/2011 07:08, lyn2py ha scritto:
>> >
>> > > How do I strikethrough some text using MARKMIN?
>> >
>> > > It's not available in the book, but I noticed that MARKMIN has a
>> > > strikethrough attribute.
>> >
>> > use the source... young Skywalker! :)
>> >
>> >  M.
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > > Thanks!
>>
>
>
>
> --
>  http://martin.tecnodoc.com.ar
>
>


-- 
 http://martin.tecnodoc.com.ar


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 

> 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 asking here.
>
> On Dec 28, 8:09 pm, Manuele Pesenti  wrote:
> > Il 28/12/2011 07:08, lyn2py ha scritto:
> >
> > > How do I strikethrough some text using MARKMIN?
> >
> > > It's not available in the book, but I noticed that MARKMIN has a
> > > strikethrough attribute.
> >
> > use the source... young Skywalker! :)
> >
> >  M.
> >
> >
> >
> >
> >
> >
> >
> > > Thanks!
>



-- 
 http://martin.tecnodoc.com.ar


[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 asking here.

On Dec 28, 8:09 pm, Manuele Pesenti  wrote:
> Il 28/12/2011 07:08, lyn2py ha scritto:
>
> > How do I strikethrough some text using MARKMIN?
>
> > It's not available in the book, but I noticed that MARKMIN has a
> > strikethrough attribute.
>
> use the source... young Skywalker! :)
>
>      M.
>
>
>
>
>
>
>
> > Thanks!