Table of Contents

PlWiki 1.0 - Plugin API examples

Simple use case

kate

IMPORTANT: This knowledge is not saved in cache !!

Adding knowledge to the page

IMPORTANT: cache=“true” so knowledge will be saved.

Goal and scope

jack
jim

Prolog interface


'$member'
'$pack':pack_dir
->atomic_list_concat
;atomic_list_concat
atom_concat
current_prolog_flag
file_search_path
library_directory
man
pcehome_
prolog_file_type
system:'$xdg_prolog_directory'
system:current_prolog_flag
wiki_header

man(jack).
man(jim).

Additional functionality

Plugin automatically saves information about page structure. In each scope several predicates are available: