Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] Keep the current indentation when inserting snippets #57

Open
user30535 opened this issue Nov 24, 2022 · 0 comments
Open

[FR] Keep the current indentation when inserting snippets #57

user30535 opened this issue Nov 24, 2022 · 0 comments

Comments

@user30535
Copy link

user30535 commented Nov 24, 2022

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant