Parses the [format] section of jacket.toml text (see the docs for the keys). Other tables are
skipped; without a [format] section the result is the default config. Bad values are errors,
reported as line N: ...; unknown keys are dropped and listed in unknown_keys.
parse_config :: (
text: string
) -> (config: Format_Config, ok: bool, error: string)
Parses the [format] section of jacket.toml text (see the docs for the keys). Other tables are
skipped; without a [format] section the result is the default config. Bad values are errors,
reported as line N: ...; unknown keys are dropped and listed in unknown_keys.
Parameters
- text: string
Returns
- config: Format_Config
- ok: bool
- error: string