Yes, just pass it:  
auth.wiki(extra = dict(centred = lambda text: DIV(text, _style = 
'text-align:center;')))

but it seems, that page should be edited/updated to get effect 


On Friday, February 15, 2019 at 12:03:28 AM UTC+3, rif wrote:
>
> Can I do this with auth.wiki?
>
> În joi, 14 feb. 2019, 22:58 Val K <valq...@gmail.com <javascript:> a 
> scris:
>
>> # you can extend MARKMIN using ``...``:<key> 
>>
>> MARKMIN("blah blah  *``*Title``:centred blah blah",  extra = dict(centred 
>> = lambda text: DIV(text, _style = 'text-align:center;')))
>>
>>
>> On Thursday, February 14, 2019 at 3:47:22 PM UTC+3, rif wrote:
>>>
>>> hey guys,
>>>
>>> I am using auth.wiki and I would like to center things (e.g. titles, 
>>> images) horizontaly on the page. 
>>> I didn't find any documentation on this, does anybody have any hints for 
>>> me?
>>>
>>> thanks,
>>> -rif
>>>
>> -- 
>> 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 a topic in the 
>> Google Groups "web2py-users" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/web2py/KZ4YjTlzzRM/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> web2py+un...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

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

Reply via email to