README.md in dotenv-rails-2.4.0 vs README.md in dotenv-rails-2.5.0

- old
+ new

@@ -114,11 +114,23 @@ ### Multi-line values If you need multiline variables, for example private keys, you can double quote strings and use the `\n` character for newlines: ```shell -PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----\nHkVN9…\n-----END DSA PRIVATE KEY-----\n" +PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----\nHkVN9...\n-----END DSA PRIVATE KEY-----\n" ``` + +Alternatively, multi-line values with line breaks are now supported for quoted values. + +```shell +PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY----- +... +HkVN9... +... +-----END DSA PRIVATE KEY-----" +``` + +This is particularly helpful when using the Heroku command line plugin [`heroku-config`](https://github.com/xavdid/heroku-config) to pull configuration variables down that may have line breaks. ### Command Substitution You need to add the output of a command in one of your variables? Simply add it with `$(your_command)`: