-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi line strings? #5
Comments
Hey @eldoy! I imagine python's multiline string syntax would do well:
Triple quotes seem to be the least conflicting with any longer form text content one would want to write (unless you're writing python code within zaml, I suppose!). Perhaps most notably, it keeps clear of markdown and html. The other aspect to consider is whitespace. As a developer, I would not want the above to convert to this...
The extra indentation whitespace would be annoying to deal with. By default, it should behave like Ruby's squiggly heredoc. The dedent package may be a solution for this. |
@gilbert Yeah, that makes sense, it's also what TOML has. Agree about the white space, that is what annoys me with backtick strings in Javascript, indent should be visual only. |
Multiline strings are in! Let me know if you need a case I didn't cover. |
@gilbert Oh nice, that was quick! I'll check it out. Thanks! |
Any plans to finish this? Looks interesting. I would use it if there was support for multi line strings. Any idea how you'd want that to look?
The text was updated successfully, but these errors were encountered: