# Omit line break at tail of selection when formatting is applied

When applying Strong, Emphasize, Strikethrouth, etc., I want to omit the case where the selection ends in a newline.

For example, when I apply Strong to a line, I have to type shift-down, shift-left, and ctrl-B at the beginning of the line.

sample1
**sample2**
sample3

If I use only shift-down and ctrl-B, I get the following.

sample1
**sample2
**
sample3

In some editors that support Markdown, such as IntteliJ and Typora, the trailing newline is omitted, which I think is a natural behavior.

Hi avis,

Thank you for the suggestion.
That makes sense. Understood.
I’ll fix it in the next release.

1 Like