Hey Peter! I don't see any code in the markmin python script that could generate qr codes.
I think the ones that are there are static. You can use a qr code generator lib with python and combine with markmin qr Syntax though. I think. On Mon, Mar 1, 2021, 15:59 Peter Woolf <pwo...@gmail.com> wrote: > Hello, > I see that web2py has documentation for generating QR codes from links > using markmin, but it isn't working in my hands. Am I doing it incorrectly > or is there a bug? > > Here is a minimal example of code in a view: > --------------- > {{from gluon.contrib.markmin.markmin2html import markmin2html}} > {{=XML(markmin2html("Hello **world** [[link qr:http://web2py.com]]"))}} > {{=markmin2html("Hello **world** [[link qr:http://web2py.com]]")}} > ------------ > This just creates a normal link: > > ----------- > > Hello *world* link > <p>Hello <strong>world</strong> <a href="qr:http://web2py.com > ">link</a></p> > > ---------- > > Thoughts? Seems a useful feature if it really exists in there! :) > > Thanks, > > --Peter > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/web2py/57f0ea98-db5a-4211-9e24-e8ce3d7271fbn%40googlegroups.com > <https://groups.google.com/d/msgid/web2py/57f0ea98-db5a-4211-9e24-e8ce3d7271fbn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/CADHCKLQO5RoExJFYe--F%3DOhNybWcHGQOC_tVwkHbFk7vjJmtoA%40mail.gmail.com.