better ini examples

master
Ondřej Hruška 7 years ago
parent 0390122728
commit a038484869
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 6
      README.md

@ -18,8 +18,10 @@ When compiled for a bare metal Cortex-M0, **the whole parser fits in 336 bytes**
Any whitespace, except inside a value, is discarded.
- **Sections** - `[section.name]`
- **Key-value pairs** - `key.foo-bar_baz123 = value lorem ipsum 123`
- **Sections** - `[section]`
- Supports any characters except whitespace and `]`
- **Key-value pairs** - `key = value`
- Key supports any characters except whitespace and `=`
- Value can contain whitespace, leading and trailing whitespace is removed.
- Ends with either `\r` or `\n`
- **Comment** `# comment ...`

Loading…
Cancel
Save