Plugin for adding a setting that converts tabs into spaces

It would be great if there'd be a plugin or even native option that adds the possibility to convert tabs into spaces.
It's especially annoying if you have source code in your notes and want to (un-)indent whole blocks.

A global setting would be fine. A complicated solution would be, to interpret the language. For example

  # two spaces here

  #  tabs here

PS: This is something that was asked already by others (i.e. here, here, here or here).


I would like this feature as well. Using spaces instead of tabs doesn't affect the markdown rendering (as far as I can tell). With spaces, I can reliably copy lists to slides or even my code editor.

1 Like