home

arachne

lexicon

The Lexicon is Arachne’s flat-file database for storing text snippets. This is useful for things like outbound links that could appear in multiple places across the wiki; having a single source of truth is convenient.

usage

The Lexicon file follows this format:

key: value

To call it in a tome:

~p [:key:]
<p>value</p>

The global Lexicon can be overridden by adding a .lexi to a page:

page
  .lexi
    .key: new value
  .body
    ~p [:key:]
    <p>new value</p>