diff --git a/README.md b/README.md index 6293c6d..84efb02 100644 --- a/README.md +++ b/README.md @@ -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) \ No newline at end of file +A portion of the toml decoder was taken from PMunch's [`parsetoml`](https://github.com/NimParsers/parsetoml)