Update README.md

This commit is contained in:
2025-01-31 05:11:09 +01:00
committed by GitHub
parent 2ecd3794f0
commit 6b9a18078b

View File

@@ -32,6 +32,7 @@ The format supports the following data types:
- `\"` for a double quote (`"`) - `\"` for a double quote (`"`)
- `\n` for a newline - `\n` for a newline
- `\t` for a tab - `\t` for a tab
- `\\` for a backslash
- Example: `string = "Line 1\nLine 2"` - Example: `string = "Line 1\nLine 2"`
- Example: `string = "Tab\tSeparated"` - Example: `string = "Tab\tSeparated"`
- Example: `string = "My \"escaped\" String"` - Example: `string = "My \"escaped\" String"`
@@ -68,19 +69,19 @@ The format supports the following data types:
## Example Structure ## Example Structure
```text ```text
[Section] [MySection]
integer = 5 myInteger = 5
string = "My String" myString = "My String"
array = [5, 6, 10] myArray = [5, 6, 10]
myBool = false myBool = false
# A comment # A comment
[Section.Subsection] [MySection.MySubsection]
float = 1.065f myFloat = 1.065f
float2 = 1e18f myFloat2 = 1e18f
hexValue = 0xFA8 hexValue = 0xFA8
[Section.Subsection.Subsection] [MySection.MySubsection.AnotherSubsection]
binValue = 0b0010010 binValue = 0b0010010
anotherDec = 1_000_375 anotherDec = 1_000_375
``` ```