Added some more inlinefunc docs.
This commit is contained in:
parent
3b9d49ef35
commit
498e3f5064
1 changed files with 3 additions and 1 deletions
|
|
@ -4,6 +4,8 @@ Inlinefunc
|
||||||
This is a simple inline text language for use to custom-format text
|
This is a simple inline text language for use to custom-format text
|
||||||
in Evennia. It is applied BEFORE ANSI/MUX parsing is applied.
|
in Evennia. It is applied BEFORE ANSI/MUX parsing is applied.
|
||||||
|
|
||||||
|
To activate Inlinefunc, settings.INLINEFUNC_ENABLED must be set.
|
||||||
|
|
||||||
The format is straightforward:
|
The format is straightforward:
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -18,7 +20,7 @@ Example:
|
||||||
This can be inserted in any text, operated on by the parse_inlinefunc
|
This can be inserted in any text, operated on by the parse_inlinefunc
|
||||||
function. funcname() (no space is allowed between the name and the
|
function. funcname() (no space is allowed between the name and the
|
||||||
argument tuple) is picked from a selection of valid functions from
|
argument tuple) is picked from a selection of valid functions from
|
||||||
settings.INLINETEXT_FUNC_MODULES.
|
settings.INLINEFUNC_MODULES.
|
||||||
|
|
||||||
Commands can be nested, and will applied inside-out. For correct
|
Commands can be nested, and will applied inside-out. For correct
|
||||||
parsing their end-tags must match the starting tags in reverse order.
|
parsing their end-tags must match the starting tags in reverse order.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue