mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-19 03:18:09 +08:00
doc: modify README a bit
This commit is contained in:
@@ -1357,10 +1357,11 @@ It represents where the error occurs.
|
|||||||
|
|
||||||
## Colorize Error Messages
|
## Colorize Error Messages
|
||||||
|
|
||||||
By `#define TOML11_COLORIZE_ERROR_MESSAGE`, the error messages from
|
By defining `TOML11_COLORIZE_ERROR_MESSAGE`, the error messages from
|
||||||
`toml::parse` and `toml::find|get` will be colorized.
|
`toml::parse` and `toml::find|get` will be colorized. By default, this feature
|
||||||
|
is turned off.
|
||||||
|
|
||||||
Note that it is hard to see when the message is written in a file, not terminal,
|
Note that the message would be messy when it is written to a file, not a terminal
|
||||||
because it uses [ANSI escape code](https://en.wikipedia.org/wiki/ANSI_escape_code).
|
because it uses [ANSI escape code](https://en.wikipedia.org/wiki/ANSI_escape_code).
|
||||||
|
|
||||||
## Serializing TOML data
|
## Serializing TOML data
|
||||||
|
Reference in New Issue
Block a user