8.9 World
(require pollen/world) | package: pollen |
A set of global values and parameters that are used throughout the Pollen system. If you don’t like the defaults I’ve picked, change them.
All identifiers are exported with the prefix world:, and are so documented below.
value
world:default-port : integer? = 8080
parameter
(world:current-server-port port) → void? port : integer?
= world:default-port
value
world:main-pollen-export : symbol? = 'doc
value
world:meta-pollen-export : symbol? = 'metas
value
world:project-require : string? = "project-require.rkt"
parameter
(world:check-project-requires-in-render? check?) → void? check? : boolean?
= #t
value
world:server-extras-dir : string? = "server-extras"
parameter
(world:current-server-extras-path dir) → void? dir : path?
= #f
value
world:preproc-source-ext : symbol? = 'pp
value
world:markup-source-ext : symbol? = 'pm
value
world:markdown-source-ext : symbol? = 'pmd
value
world:null-source-ext : symbol? = 'p
value
world:pagetree-source-ext : symbol? = 'ptree
value
world:template-source-ext : symbol? = 'pt
value
world:scribble-source-ext : symbol? = 'scrbl
value
world:mode-auto : symbol? = 'auto
value
world:mode-preproc : symbol? = 'pre
value
world:mode-markup : symbol? = 'markup
value
world:mode-markdown : symbol? = 'markdown
value
world:mode-pagetree : symbol? = 'ptree
value
world:default-pagetree : string? = "index.ptree"
value
world:pagetree-root-node : symbol? = 'pagetree-root
value
world:command-marker : char? = #\◊
value
world:default-template-prefix : string? = "template"
value
world:fallback-template : string? = "fallback.html.pt"
value
world:template-meta-key : symbol? = 'template
value
world:newline : string? = "\n"
value
value
world:paragraph-separator : string? = "\n\n"
value
world:dashboard-css : string? = "poldash.css"
value
= (map string->path (list "poldash.css" "compiled"))