From 6b9a18078b9180e2cb01797fe26a2ac21d8ad0ea Mon Sep 17 00:00:00 2001 From: ToyB-Chan Date: Fri, 31 Jan 2025 05:11:09 +0100 Subject: [PATCH] Update README.md --- README.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index a289a07..1ab1ff7 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,7 @@ The format supports the following data types: - `\"` for a double quote (`"`) - `\n` for a newline - `\t` for a tab + - `\\` for a backslash - Example: `string = "Line 1\nLine 2"` - Example: `string = "Tab\tSeparated"` - Example: `string = "My \"escaped\" String"` @@ -68,19 +69,19 @@ The format supports the following data types: ## Example Structure ```text -[Section] -integer = 5 -string = "My String" -array = [5, 6, 10] +[MySection] +myInteger = 5 +myString = "My String" +myArray = [5, 6, 10] myBool = false # A comment -[Section.Subsection] -float = 1.065f -float2 = 1e18f +[MySection.MySubsection] +myFloat = 1.065f +myFloat2 = 1e18f hexValue = 0xFA8 -[Section.Subsection.Subsection] +[MySection.MySubsection.AnotherSubsection] binValue = 0b0010010 anotherDec = 1_000_375 ```