From c6872f85c33866459cde5081daf32ea46240f17c Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Mon, 1 Jul 2019 11:53:12 +0100 Subject: [PATCH] docs: Fix tables --- docs/07-Writing-Modules.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/07-Writing-Modules.md b/docs/07-Writing-Modules.md index 1d2009b..1ab4774 100644 --- a/docs/07-Writing-Modules.md +++ b/docs/07-Writing-Modules.md @@ -46,6 +46,7 @@ register_module([ Currently, the following parts are used in the templating process: TODO: Check that this is up-to-date + Key | Purpose ----------------------------|------------------ `{body}` | Holds the main body of the page. @@ -87,6 +88,7 @@ register_module([ ### Global Variables There are a number of global variables floating around that can give you a lot of information about the current request. ~~I will be tidying them up into a single `$env` object soon.~~ Most of the below have been tidied up into a single `$env` object now! Below is a table of all the variables Pepperminty Wiki has lying around: TODO: Update this table + Variable | Description ------------------------|------------------------------------------ `$env` | An object that contains a _bunch_ of useful information about the current request.