toml-lang / toml.io

Source Code for toml.io
https://toml.io
MIT License
42 stars 44 forks source link

Show apostrophes in multi-line literal strings #61

Closed eksortso closed 1 year ago

eksortso commented 1 year ago

When I pointed to the website when discussing how apostrophes are permitted in multi-line literal strings, I was surprised to discover that this permission is described, but it isn't made explicitly clear with an example.

This change adds such an example.

literal-apostrophes = '''You're free to use apostrophes in here.'''
pradyunsg commented 1 year ago

Hmm... wait, this file gets regenerated IIRC. I don't think directly changing the HTML is the right thing.

eksortso commented 1 year ago

@pradyunsg The change needs to be made in toml.md in the spec. I'll close this PR and open a new one in toml-lang/toml.