Automatic indent in code blocks

Is your feature request related to a problem? Please describe.

Not really a problem, but I would prefer if lines in code blocks got automatically indented according to the syntax (e.g. automatic indent in Python after an :). This is currently supported by Typora, and I love that feature.

Describe the solution you’d like

Automatic indent lines of code if it corresponds, taking into account the language of the code block

Describe alternatives you’ve considered

Manually applying tabs / indentation

Additional context

Typora already does this, and I think is the only markdown editor that currently supports it, but I think it’s a great feature, given that code editors usually do this.


+1 This would be a very helpful feature to have, currently I am using a work around ie. formatting my code in vscode and then pasting it in the code block so it is saved with correct indentation.

Maybe monaco integration :joy: