Fix syntax highlighting in README.md (#86)
This commit is contained in:
parent
24bbfcb8e4
commit
abcaafedda
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue