responsive-html-email-signature
responsive-html-email-signature copied to clipboard
Alt conf format support
JSON is not the best format for configs. In general it's a bit strict and it doesn't allow comments.
Could deprecate it in favor of YAML. Vanilla JS is also an option.
@danmindru are you still considering this? If so, I could possibly commit some time to it if you could provide a little guidance / insight on exactly what you envision.
Hi @paskainos, still think the JSON is a bit clunky. I’m not too strict about it, just have a checklist of improvements in mind:
- [ ] a file format with lighter syntax. JSON requires
“
around properties,:
,,
, etc; anything lighter is a win IMO - [ ] allows inline comments
- [ ] can handle a single config object or an array of config objects (to match current JSON that can either take
{}
or[{},{}]
- [ ] would be nice if multi-line strings are allowed as a bonus (thinking for those that write light HTML)
Any other ideas are welcome :) Not sure if JSON should remain as a legacy format or not. I guess it wouldn’t hurt to keep it. Thanks for the help!