Newlines fix, add support multiline labels #41
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 first newline is ignored and 2nd and more breaks background both for content and label (with or without spaces between)
[Pic1 Example from #21 few text old/current version]

This commit adds the argument "newline_mode"
with options:
1) 'old' (default) - As is now: ignores first consequential \n, breaks background on second. Nothing changed.
[Pic2 Lots of text old/current version]

2) 'flex' - Writes all newlines. Background fixed for both label and content. Each annotation is grouped in box having same label on the side (as side effect of display inline-flex preserved)
[Pic3 Few text flex option]

[Pic4 Lots of text flex option]

3) 'multiline' - writes all newlines with proper background for content. Lines are preserved (by display inline instead of inline-flex).
[Pic5 Few text multiline option]


[Pic6 Lots of text multiline option]
Default behavior is the old one thus it backward-compatible.
It resolves #21 and gives newline handling in unified and predictable fashion.