Hi, thank you for your answer.
It works!
But I have still one problem.
When I type new line in text area,
PRViewRenderer show me whole text in one line.
But when i try edit again, in text area i see multiple line text.
Where is a problem?
Thank you for any help
best regards
Marek Fiala
>
>> I used PRDocumentParser parse: '""hi all""',
>> but this method returns PRDocument.
>>
>> But I want reneder this string in renederContentOn: method
>
> document := PRDocumentParser parse: '""hi all""'.
>
>The parser returns a document, this is the root of an AST representing
>your input. It is independent from the actual output, but it can be
>easily transformed into about any other format.
>
>For example plain text:
>
> PRTextWriter write: document --> 'hi all'
>
>Back to wiki syntax:
>
> PRWikiWriter write: document --> '""hi all""'
>
>Latex (you need a special plugin here):
>
> PRLatexWriter write: document --> '\textbf{hi all}'
>
>And, of course, also to HTML (you need Seaside and Pier-Seaside here):
>
> PRViewRenderer new
> start: document
> in: aComponent
> on: html --> '<strong>hi all</strong>'
>
>Cheers,
>Lukas
>
>--
>Lukas Renggli
>
http://www.lukas-renggli.ch>
>
>_______________________________________________
>SmallWiki, Magritte, Pier and Related Tools ...
>
https://www.iam.unibe.ch/mailman/listinfo/smallwiki>
_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki