Special Variables and Types¶
Token and GENERIC_TOKENS¶
See Token Tools Documentation for details. Note that Token is a very common return type used by Salve.
COMMANDS¶
COMMANDS is a list of str’s that allows the user to see all the options available to them when they are offline. If you are online, though, just use the Command Sheet page.
COMMAND’s¶
The COMMAND variable is a str type alias’s used to prevent spelling mistakes. It is not hard to mistype things like "autocomplete" as “autocopmlete” and this can cause issues when working on something like this. Sadly most code editors don’t give spelling errors to you but what they do give is autocomplete for variables and errors for misspelled variables. These variables, therefore, can be used for spell checking in a way and that is exactly what Salve uses them for. The full list of them is as follows:
AUTOCOMPLETEREPLACEMENTSHIGHLIGHTEDITORCONFIGDEFINITIONLINKS_AND_CHARS