An INI configuration file consists of sections, each led by a [section]
header,
followed by key/value entries separated by a specific string (=
or :
by default).
By default, section names are case sensitive but keys are not.
Leading and trailing whitespace is removed from keys and values.
Values can be omitted if the parser is configured to allow it,
in which case the key/value delimiter may also be left out.
Values can also span multiple lines, as long as they are indented deeper than the first line of the value.
Blank lines may be treated as parts of multiline values or ignored.
By default, a valid section name can be any string that does not contain \n
or ]
.
Configuration files may include comments, prefixed by specific characters (#
and ;
by default).
Comments may appear on their own on an otherwise empty line, possibly indented.