better ini examples

master
Ondřej Hruška 6 年前
父节点 0390122728
当前提交 a038484869
签署人:: MightyPork
GPG 密钥 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 ...`

正在加载...
取消
保存