diff --git a/README.md b/README.md index ab9df7b..513355e 100644 --- a/README.md +++ b/README.md @@ -37,15 +37,16 @@ refer to the article [on my website](https://quintern.xyz/en/software/buwuma.htm - If a command-comment takes up a whole line, the whole line including the newline character is replaced. ---- - ## Commands ### include Include the content of a file at the position of the command. + **Synopsis**: `` + **Argument**: A absolute or relative path to a text file + **Return Value**: The content of the file or `` empty string if the file can not be opened. @@ -53,13 +54,17 @@ The content of the file or `` empty string if ### set Set the value of a variable + **Synopsis**: Set the value of `varname` to `this is the value`: `` + Set the value of `varname` depending on the value of `othervar`: `` + **Argument**: Any string + **Return Value**: The argument in comment tags This can be useful in multiline comments that contain other commands: In that case, the comment tags will be removed and each command replaced with @@ -85,10 +93,13 @@ its return value, so if you want to just have commented text in there you can us ### uncomment Uncomment the comment. + **Synopsis**: `` + **Argument**: Any string + **Return Value**: The argument This can be useful when you want to look at the unprocessed html without variables or when your syntax highlighting gets confused by a variable. @@ -98,37 +109,47 @@ This can be useful when you want to look at the unprocessed html without variabl ### sidenav Manage the generation of a content menu which contains links to all headings in your html that have an id. The menu is called sidenav here. An entry is a html heading with a id: `