mirror of
https://github.com/ToyB-Chan/mini-file-format.git
synced 2026-05-14 10:21:16 +02:00
Update README.md
This commit is contained in:
@@ -16,7 +16,7 @@ Ends with `.mini` i.e. `config.mini`.
|
||||
- Key and (sub-) section names may only contain `a-z`, `A-Z`, `0-9`, and `_`.
|
||||
- Empty keys (i.e., keys without values) are not allowed.
|
||||
- Spaces outside of strings are ignored.
|
||||
- Empty lines may be ignored
|
||||
- Empty lines are ignored
|
||||
- Comments are denoted by `#` and may only appear on separate lines.
|
||||
|
||||
## Supported Data Types
|
||||
@@ -46,8 +46,8 @@ The format supports the following data types:
|
||||
- Arrays are enclosed in square brackets (`[]`) and contain comma-separated values.
|
||||
- Arrays may only contain one datatype.
|
||||
- Arrays may be of any positive dimension.
|
||||
- Arrays may be of any length.
|
||||
- Arrays can be empty
|
||||
- Arrays may be of any positive length.
|
||||
- Arrays can be empty.
|
||||
- Example: `array = [5, 6, 10]`
|
||||
- Example: `array2d = [[5, 8], [9, 7], [23, 47]]`
|
||||
- Example: `array2d = [[9], [50, 3], [54, 12, 46, 37]]`
|
||||
|
||||
Reference in New Issue
Block a user