skystrife / cpptoml

cpptoml is a header-only library for parsing TOML
MIT License
587 stars 133 forks source link

Option for outputing multiline strings #88

Open Kazuo256 opened 6 years ago

Kazuo256 commented 6 years ago

When you try to output a toml table with

out_stream << my_toml_table;

All string values are invariably written with a single-line quotation.

Would it be possible to add options to force writing multiline strings?

I know it is possible to do it manually using the accept method, but it would be nice to have a built-in feature.

I'm also available for submitting a PRs if you tell me how you want it done.