[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 manuele.pese...@gmail.com 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!


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 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 manuele.pese...@gmail.com 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


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,
 style='color:red;text-decoration:line-through').xml()}
 MARKMIN(text, extra)


 2011/12/28 lyn2py lyn...@gmail.com

 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 manuele.pese...@gmail.com 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


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

 `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,
  style='color:red;text-decoration:line-through').xml()}
  MARKMIN(text, extra)

  2011/12/28 lyn2py lyn...@gmail.com

  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 manuele.pese...@gmail.com 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 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 ')}}

 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

  `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,
   style='color:red;text-decoration:line-through').xml()}
   MARKMIN(text, extra)

   2011/12/28 lyn2py lyn...@gmail.com

   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 manuele.pese...@gmail.com 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