As like as HTML, JSX converts line breaks to single whitespace. It would bring collapsed whitespaces / line breaks at around highlighted element of code block.
Luckily, we can deal it with using JS expression. This update will convert line breaks in the rendered HTML into JS expression before applying to htm.
It resolves #4.
As like as HTML, JSX converts line breaks to single whitespace. It would bring collapsed whitespaces / line breaks at around highlighted element of code block.
Luckily, we can deal it with using JS expression. This update will convert line breaks in the rendered HTML into JS expression before applying to
htm
.In short, it means converting HTM:
to