Where does the raw wiki markup on a pier page come from?
Matthias Berth
matthias.berth at googlemail.com
Tue Feb 9 09:32:41 MET 2010
Ah, thanks a lot, Lukas and Keith.
Matthias
On Tue, Feb 9, 2010 at 8:59 AM, Lukas Renggli <renggli at gmail.com> wrote:
>> I know that a PRDocument is a tree of objects that correspond to the
>> structure of a HTML document, such as paragraphs (PRParagraph), list
>> items (PRListItem) etc. When I edit an existing wiki page, where does
>> the raw wiki text come from? Is it re-generated from the objects
>> inside the PRDocument (how?), or is it kept somewhere in a separate
>> place?
>
> PRDocumentParser parse: aString
> gives you a document tree from a wiki string.
>
> and the opposite
>
> PRWikiWriter write: aDocument
> gives you the wiki string.
>
> PRTextWriter write: aDocument
> gives you a plain text string.
>
> PRViewRenderer new start: aDocument in: aComponent on: html
> renders a document as HTML
>
> ...
>
> and there are some other output formats, such as LaTeX, RSS, ...
>
> Lukas
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>
More information about the smallwiki
mailing list