web2py does not provide that functionality. It would be nice to add it.

On Tuesday, 15 December 2015 07:44:45 UTC-6, mweissen wrote:
>
> A new problem:
>
> I have a wiki with some pages, containing pictures (with the @////-syntax) 
> and some environment-functions (with @{f:1,2,3}-syntax). It works well and 
> I am very satisfied.
>
> Now I want to put all these pages together, e.g. for a printed version.
> No problem to concatante all the wiki_page.body to a new string - let's 
> call this string "book".
>
> But I understand, markmin(book) does not understand the @-notation. 
> *I need to make the wiki render the "book". Is it possible?*
>
> 2015-11-06 8:13 GMT+01:00 Martin Weissenboeck <[email protected]>:
>
>> One additional question:
>>
>> auth.wiki understands a page with some "@{myfunktion:1,2,3}" calls.
>> And I want to include pictures with something like "[[Description 
>> @///static/mypicture.png center]]".
>> How can I create a pdf-file using all the @-features?
>>
>> 2015-11-04 15:57 GMT+01:00 Martin Weissenboeck <[email protected]>:
>>
>>> Thank you very much - this solves my problem: I want to use these files 
>>> in a wiki.
>>> It has not been clear for me whether "@////args" will be resolved first 
>>> or "[[...]]".
>>>
>>> 2015-11-04 15:31 GMT+01:00 Massimo Di Pierro <[email protected]
>>> >:
>>>
>>>> MARKMIN itself does not mess with paths. It just render the markup to 
>>>> HTML. Paths are framework/application/routes dependent therefore there 
>>>> cannot be a generic syntax in markmin that works in every case. The same 
>>>> problem happens when the hostname changes.
>>>>
>>>> In auth.wiki we solve the problem by allowing this syntax: @////args 
>>>> where @[hostname]/[app]/[controller]/[function]/[args] and each part [...] 
>>>> can be omitted. if omitted, it is put in by the server when generating the 
>>>> response, before markmin is rendered.
>>>>
>>>>
>>>> On Tuesday, 3 November 2015 01:58:46 UTC-6, mweissen wrote:
>>>>>
>>>>> I want to show a picture in a markmin file.
>>>>> This is my markmin text:
>>>>>
>>>>> [[Description /myapp/static/mypicture.png center]]
>>>>>
>>>>>
>>>>> Works fine, but if I want to use the same text in another application 
>>>>> I have to change it to
>>>>>  
>>>>>
>>>>> ​[[Description /myotherapp/static/mypicture.png center]]​
>>>>>
>>>>>
>>>>> It is possible to use something generic like  ./static/mypicture.png ?
>>>>>
>>>>> Regards, Martin
>>>>>
>>>>>
>>>>>
>>
>>
>
>
> -- 
> Mit freundlichen Grüßen / With kind regards 
> Martin Weissenböck
> Gregor-Mendel-Str. 37, 1190 Wien
> Austria / European Union
>
>

-- 
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