Re: [web2py] Re: \sample markmin app

2010-11-05 Thread Bruno Rocha
2010/11/5 mdipierro 

> Field('MyMarkup','text',represent=lambda t: MARKMIN(t))


 Nice! I should use that right now! but this only renders markmin in to
html,
I am talking about including the markmin editor into a widget for
insert/update


[web2py] Re: \sample markmin app

2010-11-05 Thread mdipierro
Field('MyMarkup','text',represent=lambda t: MARKMIN(t))

On Nov 5, 12:46 pm, Bruno Rocha  wrote:
> Changing the subject a little,
>
> What about including a markmin widget for 'text' datatype?
>
> Field('myMarkup','text',widget='markmin') or simply
> Field('MyMarkup','markmin') then auto generated forms would render it by
> default including the markitUp editor in the widget.
>
> The same could be done for a kind of 'html' widget/type includind an html
> editor
>
> What about?
>
> 2010/11/5 mdipierro 
>
>
>
> > Markitup is not plugin_wiki (static/plugin_wiki/markitup) not in
> > web2py
>
> > On Nov 5, 4:23 am, villas  wrote:
> > > > it has been included for some time.
>
> > > Could you tell me exactly where the editor MarkItUp is included?
>
> > > I looked in Contrib etc but maybe I'm missing something?
> > > Sorry for this question but I am not always very good at seeing what
> > > is obvious!  :-)
>
> > > On Nov 4, 6:25 pm, mdipierro  wrote:
>
> > > > it has been included for some time. You can use it via the MARKMIN
> > > > helper.
>
> > > > On Nov 4, 12:34 pm, villas  wrote:
>
> > > > > That looks like a great combination with the editor!
> > > > > Is Markitup going to be included as standard?
>
> > > > > -D
>
> --
>
> http://rochacbruno.com.br


Re: [web2py] Re: \sample markmin app

2010-11-05 Thread Bruno Rocha
Changing the subject a little,

What about including a markmin widget for 'text' datatype?

Field('myMarkup','text',widget='markmin') or simply
Field('MyMarkup','markmin') then auto generated forms would render it by
default including the markitUp editor in the widget.

The same could be done for a kind of 'html' widget/type includind an html
editor

What about?



2010/11/5 mdipierro 

> Markitup is not plugin_wiki (static/plugin_wiki/markitup) not in
> web2py
>
> On Nov 5, 4:23 am, villas  wrote:
> > > it has been included for some time.
> >
> > Could you tell me exactly where the editor MarkItUp is included?
> >
> > I looked in Contrib etc but maybe I'm missing something?
> > Sorry for this question but I am not always very good at seeing what
> > is obvious!  :-)
> >
> > On Nov 4, 6:25 pm, mdipierro  wrote:
> >
> > > it has been included for some time. You can use it via the MARKMIN
> > > helper.
> >
> > > On Nov 4, 12:34 pm, villas  wrote:
> >
> > > > That looks like a great combination with the editor!
> > > > Is Markitup going to be included as standard?
> >
> > > > -D
> >
> >
>



-- 

http://rochacbruno.com.br


[web2py] Re: \sample markmin app

2010-11-05 Thread mdipierro
Markitup is not plugin_wiki (static/plugin_wiki/markitup) not in
web2py

On Nov 5, 4:23 am, villas  wrote:
> > it has been included for some time.
>
> Could you tell me exactly where the editor MarkItUp is included?
>
> I looked in Contrib etc but maybe I'm missing something?
> Sorry for this question but I am not always very good at seeing what
> is obvious!  :-)
>
> On Nov 4, 6:25 pm, mdipierro  wrote:
>
> > it has been included for some time. You can use it via the MARKMIN
> > helper.
>
> > On Nov 4, 12:34 pm, villas  wrote:
>
> > > That looks like a great combination with the editor!
> > > Is Markitup going to be included as standard?
>
> > > -D
>
>


[web2py] Re: \sample markmin app

2010-11-05 Thread villas
> it has been included for some time.

Could you tell me exactly where the editor MarkItUp is included?

I looked in Contrib etc but maybe I'm missing something?
Sorry for this question but I am not always very good at seeing what
is obvious!  :-)


On Nov 4, 6:25 pm, mdipierro  wrote:
> it has been included for some time. You can use it via the MARKMIN
> helper.
>
> On Nov 4, 12:34 pm, villas  wrote:
>
> > That looks like a great combination with the editor!
> > Is Markitup going to be included as standard?
>
> > -D
>
>


[web2py] Re: \sample markmin app

2010-11-04 Thread mart
I really like this. And I really like to use your cook book app, "as
is", because I deal with too many groups of people and interests
@work. The cook book has that "compartiment" feature built-in :)
(although if I did have any kind of time to myself, I would look into
adding sub-categories) I mostly use it in meetings/and  conference
calls to write a few notes. I create a new category for new subjects,
meeting topic, etc.., type a few notes, then "save" & I'm done. Then I
can find what I need days later if need be and pull out the bits that
matter. - anyways, works well for me

So for the cookBook, Is there an easy way to switch the text input box
for that very cool markmin editor you have in your new app?  with that
I can do the formatting as I go, and have the text/display all nice
and pretty.

Tanks,

Mart :)

On Nov 4, 6:13 pm, mikech  wrote:
> ++
> DZoned it!
>
> On Nov 4, 6:09 am, mdipierro  wrote:
>
> >http://www.web2py.com/markmin
>
>


[web2py] Re: \sample markmin app

2010-11-04 Thread mikech
++
DZoned it!

On Nov 4, 6:09 am, mdipierro  wrote:
> http://www.web2py.com/markmin


[web2py] Re: \sample markmin app

2010-11-04 Thread mdipierro
oops. please try againa.

On Nov 4, 2:10 pm, David Marko  wrote:
> I cant download  the app using the provided 
> link:http://www.web2py.com/markmin/static/web2py.app.markmin.w2p
>
> David
>
> On 4 lis, 20:02, mdipierro  wrote:
>
> > you can use plugin_wiki instead.
> > Of you can use markmin and define your own syntax. For example you can
> > do
>
> > extra = {'youtube': lambda code: " > height="385">http://www.youtube.com/v/%s?
> > fs=1&hl=en_US"> > value="true"> > param>http://www.youtube.com/v/%s?fs=1&hl=en_US";
> > type="application/x-shockwave-flash" allowscriptaccess="always"
> > allowfullscreen="true" width="640" height="385">" %
> > (code,code)}
>
> > text = """
>
> > # here is a video
>
> > ``l7AWnfFRc7g``:youtube
>
> > """
>
> > html=MARMIN(text,extra)
>
> > On Nov 4, 1:31 pm, Luther Goh Lu Feng  wrote:
>
> > > Very nice. How can one embed videos from youtube, vimeo, using
> > > markmin?
>
> > > On Nov 5, 2:25 am, mdipierro  wrote:
>
> > > > it has been included for some time. You can use it via the MARKMIN
> > > > helper.
>
> > > > On Nov 4, 12:34 pm, villas  wrote:
>
> > > > > That looks like a great combination with the editor!
> > > > > Is Markitup going to be included as standard?
>
> > > > > -D
>
>


Re: [web2py] Re: \sample markmin app

2010-11-04 Thread rochacbruno
Very Nice!

I am a markmin fan

Would be good to render it live with ajax. 

Enviado via iPhone

Em 04/11/2010, às 17:35, mdipierro  escreveu:

> oops. please try againa.
> 
> On Nov 4, 2:10 pm, David Marko  wrote:
>> I cant download  the app using the provided 
>> link:http://www.web2py.com/markmin/static/web2py.app.markmin.w2p
>> 
>> David
>> 
>> On 4 lis, 20:02, mdipierro  wrote:
>> 
>>> you can use plugin_wiki instead.
>>> Of you can use markmin and define your own syntax. For example you can
>>> do
>> 
>>> extra = {'youtube': lambda code: ">> height="385">http://www.youtube.com/v/%s?
>>> fs=1&hl=en_US">>> value="true">>> param>http://www.youtube.com/v/%s?fs=1&hl=en_US";
>>> type="application/x-shockwave-flash" allowscriptaccess="always"
>>> allowfullscreen="true" width="640" height="385">" %
>>> (code,code)}
>> 
>>> text = """
>> 
>>> # here is a video
>> 
>>> ``l7AWnfFRc7g``:youtube
>> 
>>> """
>> 
>>> html=MARMIN(text,extra)
>> 
>>> On Nov 4, 1:31 pm, Luther Goh Lu Feng  wrote:
>> 
 Very nice. How can one embed videos from youtube, vimeo, using
 markmin?
>> 
 On Nov 5, 2:25 am, mdipierro  wrote:
>> 
> it has been included for some time. You can use it via the MARKMIN
> helper.
>> 
> On Nov 4, 12:34 pm, villas  wrote:
>> 
>> That looks like a great combination with the editor!
>> Is Markitup going to be included as standard?
>> 
>> -D
>> 
>> 


[web2py] Re: \sample markmin app

2010-11-04 Thread DenesL

Nice.

One problem with one of the menu icons though,
pressing on the numeric list produces a '+'
and it should be '+ '
otherwise you have to add the space manually
for the list to work.

The bulleted list does it right: '- '

On Nov 4, 8:09 am, mdipierro  wrote:
> http://www.web2py.com/markmin


[web2py] Re: \sample markmin app

2010-11-04 Thread Luther Goh Lu Feng
This is an an excellent tip! I did not read this in the online book.
If it is not already in the book, please include it!

On Nov 5, 3:02 am, mdipierro  wrote:
> you can use plugin_wiki instead.
> Of you can use markmin and define your own syntax. For example you can
> do
>
> extra = {'youtube': lambda code: " height="385">http://www.youtube.com/v/%s?
> fs=1&hl=en_US"> value="true"> param>http://www.youtube.com/v/%s?fs=1&hl=en_US";
> type="application/x-shockwave-flash" allowscriptaccess="always"
> allowfullscreen="true" width="640" height="385">" %
> (code,code)}
>
> text = """
>
> # here is a video
>
> ``l7AWnfFRc7g``:youtube
>
> """
>
> html=MARMIN(text,extra)
>
> On Nov 4, 1:31 pm, Luther Goh Lu Feng  wrote:
>
>
>
>
>
>
>
> > Very nice. How can one embed videos from youtube, vimeo, using
> > markmin?
>
> > On Nov 5, 2:25 am, mdipierro  wrote:
>
> > > it has been included for some time. You can use it via the MARKMIN
> > > helper.
>
> > > On Nov 4, 12:34 pm, villas  wrote:
>
> > > > That looks like a great combination with the editor!
> > > > Is Markitup going to be included as standard?
>
> > > > -D


[web2py] Re: \sample markmin app

2010-11-04 Thread David Marko
I cant download  the app using the provided link:
http://www.web2py.com/markmin/static/web2py.app.markmin.w2p

David

On 4 lis, 20:02, mdipierro  wrote:
> you can use plugin_wiki instead.
> Of you can use markmin and define your own syntax. For example you can
> do
>
> extra = {'youtube': lambda code: " height="385">http://www.youtube.com/v/%s?
> fs=1&hl=en_US"> value="true"> param>http://www.youtube.com/v/%s?fs=1&hl=en_US";
> type="application/x-shockwave-flash" allowscriptaccess="always"
> allowfullscreen="true" width="640" height="385">" %
> (code,code)}
>
> text = """
>
> # here is a video
>
> ``l7AWnfFRc7g``:youtube
>
> """
>
> html=MARMIN(text,extra)
>
> On Nov 4, 1:31 pm, Luther Goh Lu Feng  wrote:
>
>
>
>
>
>
>
> > Very nice. How can one embed videos from youtube, vimeo, using
> > markmin?
>
> > On Nov 5, 2:25 am, mdipierro  wrote:
>
> > > it has been included for some time. You can use it via the MARKMIN
> > > helper.
>
> > > On Nov 4, 12:34 pm, villas  wrote:
>
> > > > That looks like a great combination with the editor!
> > > > Is Markitup going to be included as standard?
>
> > > > -D


[web2py] Re: \sample markmin app

2010-11-04 Thread mdipierro
you can use plugin_wiki instead.
Of you can use markmin and define your own syntax. For example you can
do

extra = {'youtube': lambda code: "http://www.youtube.com/v/%s?
fs=1&hl=en_US">http://www.youtube.com/v/%s?fs=1&hl=en_US";
type="application/x-shockwave-flash" allowscriptaccess="always"
allowfullscreen="true" width="640" height="385">" %
(code,code)}

text = """

# here is a video

``l7AWnfFRc7g``:youtube

"""

html=MARMIN(text,extra)




On Nov 4, 1:31 pm, Luther Goh Lu Feng  wrote:
> Very nice. How can one embed videos from youtube, vimeo, using
> markmin?
>
> On Nov 5, 2:25 am, mdipierro  wrote:
>
> > it has been included for some time. You can use it via the MARKMIN
> > helper.
>
> > On Nov 4, 12:34 pm, villas  wrote:
>
> > > That looks like a great combination with the editor!
> > > Is Markitup going to be included as standard?
>
> > > -D
>
>


[web2py] Re: \sample markmin app

2010-11-04 Thread Luther Goh Lu Feng
Very nice. How can one embed videos from youtube, vimeo, using
markmin?

On Nov 5, 2:25 am, mdipierro  wrote:
> it has been included for some time. You can use it via the MARKMIN
> helper.
>
> On Nov 4, 12:34 pm, villas  wrote:
>
>
>
>
>
>
>
> > That looks like a great combination with the editor!
> > Is Markitup going to be included as standard?
>
> > -D


[web2py] Re: \sample markmin app

2010-11-04 Thread mdipierro
it has been included for some time. You can use it via the MARKMIN
helper.

On Nov 4, 12:34 pm, villas  wrote:
> That looks like a great combination with the editor!
> Is Markitup going to be included as standard?
>
> -D


[web2py] Re: \sample markmin app

2010-11-04 Thread villas
That looks like a great combination with the editor!
Is Markitup going to be included as standard?

-D