Fix syntax highlighting in README.md (#86)

This commit is contained in:
Firas Khalil Khana 2024-06-07 00:49:23 +03:00 committed by GitHub
parent 24bbfcb8e4
commit abcaafedda
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -348,7 +348,7 @@ assert res == "fruit1 = \"Apple\"\nfruit2 = \"Banana\"\nfruit3 = \"Orange\"\n"
You can control the reader behavior when deserializing specific enum using `configureTomlDeserialization`.
``Nim
```Nim
configureTomlDeserialization(
T: type[enum], allowNumericRepr: static[bool] = false,
stringNormalizer: static[proc(s: string): string] = strictNormalize)
@ -415,4 +415,4 @@ at your option. This file may not be copied, modified, or distributed except acc
## Credits
A portion of the toml decoder was taken from PMunch's [`parsetoml`](https://github.com/NimParsers/parsetoml)
A portion of the toml decoder was taken from PMunch's [`parsetoml`](https://github.com/NimParsers/parsetoml)