When writing indented fenced codeblocks (the only ones I use) like
```sh
some shell code
```
in markdown the indentation of comments is automatically removed when I type the comment character #.
```sh
# as soon as I type '#' the indentation is removed
```
Also, the indentation in normal mode using > does not work on the comments (even though the rest is properly indented).
Note, I do not use any markdown specific plugins, but make use of the default syntax highlighting using
let g:markdown_fenced_languages = [
\ 'py=python', 'python',
\ 'sh', 'bash=sh', 'shell=sh',
\ 'c', 'c++=cpp',
\ 'rb=ruby', 'ruby',
\ 'html', 'css',
\ 'js=javascript', 'javascript',
\ 'json',
\ 'yaml', 'yml=yaml',
\ 'vim'
\]
How do I debug this to find the cause?