Re: [web2py] new feature in trunk: better markmin

2012-05-10 Thread Alan Etkin
That solves it. Even it's possible to populate the input with different :html instances. Perhaps could come handy to reserve a tag for html, saving the extra lambda argument. On Wednesday, May 9, 2012 2:03:00 AM UTC-3, Massimo Di Pierro wrote: You can use MARMIN(...,extra=dict(html=lambda x:

Re: [web2py] new feature in trunk: better markmin

2012-05-08 Thread Alan Etkin
Seems like it's not possible to embed HTML in markmin. Isn't it? How about allowing a user to do: print MARKMIN([[[divSpam/div]]]) divSpam/div I think that this would be useful for dual markmin/html wisiwig editors too.

Re: [web2py] new feature in trunk: better markmin

2012-05-08 Thread Massimo Di Pierro
You can use MARMIN(...,extra=dict(html=lambda x: x)) then you would embed with ``divthis is html/div``:html but kind of defies the purpose and you may want to sanitize(x) On Tuesday, 8 May 2012 14:48:42 UTC-5, Alan Etkin wrote: Seems like it's not possible to embed HTML in markmin. Isn't

Re: [web2py] new feature in trunk: better markmin

2012-04-06 Thread Martin Weissenboeck
Maybe we could get nested lists? Something like - item a -- item aa -- item ab - item b Martin Am 06.04.2012 03:09 schrieb Massimo Di Pierro massimo.dipie...@gmail.com : Consider this text text = **bold** ''italic'' ``code`` [[anchor]] [[link to #anchor]] http://example/image.jpg

Re: [web2py] new feature in trunk: better markmin

2012-04-06 Thread Massimo Di Pierro
This has been on the todo list for a while. It requires refactoring of the way markmin handles nested lists. If this is done, must be donefor both markmin2html and markmin2latex. I very much support this feature but it not a priority for me. If somebody wants to work on it, I will take a patch.

[web2py] new feature in trunk: better markmin

2012-04-05 Thread Massimo Di Pierro
Consider this text text = **bold** ''italic'' ``code`` [[anchor]] [[link to #anchor]] http://example/image.jpg (embeds the image) http://example/image.mp3 (embeds the audio) http://example/image.mp4 (embeds the video) @{hello} (embeds the variable hello)