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

Dedent content before pasting it to current indentation #29

Open
ivan-lednev opened this issue Apr 5, 2023 · 1 comment
Open

Dedent content before pasting it to current indentation #29

ivan-lednev opened this issue Apr 5, 2023 · 1 comment

Comments

@ivan-lednev
Copy link

ivan-lednev commented Apr 5, 2023

Suppose I have some code:

class Foo {
    bar() {
        doStuff()
    }
}

When I copy some fragment from it, say:

bar() {
    doStuff()
}

I'd like the content to be dedented. So instead of this:

- list
    - sublist
      ```
          bar() {
              doStuff()
          }
      ```

I'd like to see this:

- list
    - sublist
      ```
      bar() {
          doStuff()
      }
      ```
@jglev
Copy link
Owner

jglev commented May 14, 2023

Thank you for reaching out! I'm sorry for my delay in responding; it's been a busy few months! I'm writing just to say that this is on my radar, and I'm starting to think through it. What you describe wanting to see is the intended behavior of the plugin, so I'm starting to look into this as a bug.

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

2 participants