Right now markmin is a single file and does not depend on web2py so you can use it with other frameworks. Just copy the file in the path. I include it in web2py for convenience and because I made a new helper MARKMIN and I hope people will use it instead of WIKI from now on.
The plugin_wiki is implemented on top of web2py and exposes some web2py syntax but, apart for ``....``:template and meta-code everything else is to the user web2py independent and it should be possible to re-implement it in other frameworks. I also modified markitup.js to support markmin (used by cu29 and plugin_wiki). I sent the patch to the markitup developer but got no reply yet. Massimo On 7 Lug, 10:27, Thadeus Burgess <thade...@thadeusb.com> wrote: > I wish web2py was modular, so that this could be a separate project, > and you can ``easy_install markmin`` and then web2py will pick up the > existance or non-existance of the package and use or not use it > automatically. This way we don't have to install markmin if we don't > want to, but it is only one command away. > > I know this makes it harder to maintain when you have multiple > packages, however allows for people who use other web frameworks to > take advantage of it! > > -- > Thadeus > > On Wed, Jul 7, 2010 at 9:45 AM, Álvaro Justen <alv...@justen.eng.br> wrote: > > On Wed, Jul 7, 2010 at 02:15, mdmcginn <michael.d.mcgin...@gmail.com> wrote: > >> Massimo also announced this at > >>http://groups.google.com/group/comp.lang.python.announce/browse_threa... > >> but didn't include a link > >> tohttp://www.web2py.com/examples/static/markmin.html. > >> No comments yet. > > > No. New project, new repository. > > >> On Jul 6, 11:47 pm, Jason Brower <encomp...@gmail.com> wrote: > >>> Markdown has no classes and it's annoying. I have been hoping for > >>> something like this. And didn't they say it was faster? Why do we need > >>> Python when we can do everything in C? Then again, I am no expert. > >>> And about the seporate project. It kind of is now, but it is just > >>> included with the web2py package. It can be removed if needed. (Hence > >>> another reason to have a plugin like manager. We could install stuff for > >>> that web2py install and manage it as well. All from the admin pages.) > >>> --Jason > > >>> On Tue, 2010-07-06 at 23:34 -0300, Álvaro Justen wrote: > >>> > Another thoughts: *why* do we need another markup language? Markdown > >>> > is not enough? It is so boring to learn a lot of languages (rest, > >>> > markdown, markmin...). > > >>> > On Tue, Jul 6, 2010 at 23:32, Álvaro Justen <alv...@justen.eng.br> > >>> > wrote: > >>> > > On Mon, Jul 5, 2010 at 19:42, mdipierro <mdipie...@cs.depaul.edu> > >>> > > wrote: > >>> > >>http://www.web2py.com/examples/static/markmin.html > > >>> > > As you created it, it is in contrib, it doesn't depend on web2py and > >>> > > maybe useful to other people, I think we should create another project > >>> > > to maintain markmin. > >>> > > Other ideia is to integrate the template system with markmin. For > >>> > > example: create a applications/myapp/views/default/somepage.markmin > >>> > > if somepage.html does not exist, web2py should use markmin to generate > >>> > > HTML instead. > > >>> > > We have tests! Great! \o/ :-) > > >>> > > -- > >>> > > Álvaro Justen - @turicas > >>> > > http://blog.justen.eng.br/ > >>> > > 21 9898-0141 > > > -- > > Álvaro Justen - @turicas > > http://blog.justen.eng.br/ > > 21 9898-0141