#10425·notesnook

Plaintext does not appear in the language selection dropdown for code blocks

Author: revsuineCreated Sep 25, 2026Updated Sep 25, 2026

What problem are you facing?

I'm not sure if this first bit is a bug or a feature, but when I create a new code block (which I do with ctrl+shift+c if it's meant to be plaintext), it adopts the highlighting language of the last code block.

If I then want it to become a plaintext block, there's no such option in the language selection pop-up.

I find I can work around it by using the Markdown shortcut with the three backticks and then a non-existent language, e.g. if I type

```blah

I'll get a plaintext block.

Just typing

```

gets the same behaviour as ctrl+shift+c, i.e. it adopts the last used language.

What's the solution you'd like to see in Notesnook?

Add a "plaintext" option in the pop-up for language selection.

Also, if the above behaviour is a bug, you might want to look at that. The behaviour wouldn't bother me if there were a plaintext option.

What alternatives have you considered?

No response

Additional context

No response