[pmwiki-users] Repost: Could Edit always include Preview?

Tegan Dowling tmdowling at gmail.com
Fri Apr 28 14:10:14 CDT 2006


On 4/28/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> Even better, shorter, and more robust is the following:
>
>     !!$[Preview {$FullName}]]
>     (:if e_preview:)'''$[Page is unsaved]'''(:if:)
>     (:e_preview:)
>     (:if e_preview:)
>     ---
>     '''$[End of preview -- remember to save]'''
>     (:if:)
>     [[#top | $[Top] ]]
>
> Notably, this version doesn't require the use of (:include:),
> nor does it result in the repeating include when the EditForm
> is being edited.
>
> Pm

are there two typos, should that be
   !!$[Preview {$FullName}]
and
----
?




More information about the pmwiki-users mailing list