text-snippets-obsidian
text-snippets-obsidian copied to clipboard
[FR] Keep the current indentation when inserting snippets
For example, I have the following snippet:
Callout : > [!Note]$nl$>
I want to insert the snippet inside a list, at the following location:
- A list
Callout
After expanding Callout
, I expect to obtain the following code:
- A list
> [!Note]
>
In other words, when a snippet includes multiple lines, I expect the new line mark $nl$
to be able to behave just like how Shift
+ Enter
behaves, i.e., inserting a new line while keeping the current indentation.
This will be super helpful! Thank you!