obsidian-code-block-from-selection
obsidian-code-block-from-selection copied to clipboard
Doesn't respect indentation
When I use this to convert an indented line to a code block the current indentation is ignored
3. ### Setup HAProxy
1. Install HAProxy
sudo apt install haproxy
Becomes
3. ### Setup HAProxy
1. Install HAProxy
\```bash
sudo apt install haproxy
\```
Instead of
3. ### Setup HAProxy
1. Install HAProxy
```bash
sudo apt install haproxy
```
Note that to be indented properly code blocks have to be indented again for some reason
It makes sense. Thanks for the suggestion.