HaXtatic Docs

demoSimplest

Outputs <h1>Hello World!</h1>.

In a nutshell

  1. Declaration of an |X|demoSimplest:myTag directive in a *.haxproj file,
    • further configuring: (no other settings)
  2. Usage anywhere: {X|myTag |}

Stage:

Early — this X-renderer does not require a page context for rendering: therefore many demoSimplest-invoking X-tags encountered during pre-templating (at start-up time) may be eagerly processed immediately in-place (for overall-reduced per-page processing loads).

Purpose

This "verging on useless" X-renderer exists solely to serve as a code sample to start from when wanting to develop custom X-renderers within the HaXtatic code-base in Haskell.

  
…Scroll to: