Add multi line text interpolation support #131
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently Splash does not support multi line string interpolation for swift.
However this is a feature of swift and is very useful to use when blogging as keeping the line length short is important for mobile/iPad viewers.
Before:
After:
This fix now supports multi line text interpolation within multi line strings.
It however does not support dealing with the edge case were there is a string nested within the interpolation that itself includes a closing brace. I feel that is quite a bit of an edge case and supporting it would add a lot of complexity.