Multiline variables support
Hello,
I have the need explained in #104.
So here is a proposition to get it work:
- Support multi-line variables on single-line with double quote strings and the
\ncharacter for newlines - Support multi-line variables with line breaks using double quotes as delimiter
This addition follow the behavior described in the dotenv ruby tool: https://github.com/bkeepers/dotenv#multi-line-values
Hoping this is satisfying for you and @vladAnk
@ashald was wondering if you'd be able to merge this PR as I ran into this problem and can't really find a reasonable way around multiline env variables.
Hi! Thanks a lot for your contribution! I'll try to look into your PR as soon as I can. Recently I don't have much time for OSS activity, unfortunately. That being said, I don't want to abandon this plugin either. I hope to find some time review recent contributions in the next few months, and will be sure to check your work. Please keep your branch in place so that I can learn from your findings!
P.S.: Hope you can use yaml multi-line string smeanwhile
Any news on this PR?
Not yet - I don't have time for OSS activity right now. Will review outstanding PRs and cut a new release whenever I get a chance though. Appreciate your contribution! In the meantime, you should be able to get your own build and install plugin from file to get this working.
Looks great - thanks!