From a0384848699148d47beb787eae61c5af59186f07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Sat, 3 Mar 2018 16:32:30 +0100 Subject: [PATCH] better ini examples --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0355bad..77b6f49 100644 --- a/README.md +++ b/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 ...`