From 7f19892571b2575785e7456e3ad99efd2d2aad73 Mon Sep 17 00:00:00 2001 From: Alvie Rahman Date: Sun, 7 Mar 2021 11:14:34 +0000 Subject: [PATCH] add overwriting stuff to syntax.md --- syntax.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/syntax.md b/syntax.md index b672eab..7fec5dd 100644 --- a/syntax.md +++ b/syntax.md @@ -55,6 +55,9 @@ of hydrogen and carbon. Hydrocarbons are examples of group 14 hydrides. Organic compounds are compounds which contain carbon hydrogen bonds. ``` +Otf macros can be overwritten later in the document. +They also take precedence of any macros defined in the `macros` file. + ## plurals Say you only have the following macro definitions: @@ -89,7 +92,8 @@ Ending | Example | Formation | Plural --- | --- | --- | --- `s`, `ch`, `sh`, `x`, or `z` | dress | add es | dresses `[consonant]y` | story | change `y` to `ies` | stories -`[consonant]o` | hero | add `es` | heroes +`[consonant]o` | macro | add `s` | macros +`[vowel]o` | hero | add `es` | heroes `f` | leaf | change `f` to `ves` | leaves