When I select a text and hit Command+Shift M, It format the whole line instead of the selected text.
Example:
This is a code
expected:
This is a code
What I have:
This is a code
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.
Sign up to join this communityWhen I select a text and hit Command+Shift M, It format the whole line instead of the selected text.
Example:
This is a code
expected:
This is a code
What I have:
This is a code
I guess you can't change it. MonoSpace falls under Paragraph Style in Notes and it implies for whole sentence or paragraph.
You are changing paragraph style. If I understood correctly you probably look for ways to change font instead. After you have selected text hit ⌘ + T (will take to Fonts -> Show Fonts) select desired font and it will be applied to selected text only.