The whole point of a wiki markup is that you cannot because you should not 
put code into it. In fact when it is possible that is considered a 
vulnerability. 

That said it is possible to create custom tags (for example 
``....``:execute) that will run you marked up code. I do not recommend it.

What you need to do is something simpler. You need to generate an embedded 
URL. The wiki provides two save ways to do that. One way is this:

...  http://HOSTNAME/yourapp/default/blog ...

and HOSTNAME is automatically replaced by the hostname of your server. 
Another way is

.... @///default/blog ....

where '@///' will be 'replaced by http(s)://HOSTNAME/yourapp/'.


On Monday, 2 January 2017 16:39:31 UTC-6, [email protected] wrote:
>
> How do I get the built-in wiki page to run python code, i.e. 
> {{=URL('default','blog')}}
>
> I use auth.wiki(render='html')
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to