Skip to content

Select multiple lines in the code block and press tab to indent multiple lines or tab + shift to cancel indenting multiple lines #3274

Closed

Description

@morecup

Describe your feature request

在代码块中选择多行并且按下tab多行缩进或tab+shift多行取消缩进
Select multiple lines in the code block and press tab to indent multiple lines or tab + shift to cancel indenting multiple lines

Additional context [optional]

I will pull request to add this feature.

Activity

  1. added a commit that references this issue on May 23, 2022
  2. YalandHong commented on May 28, 2022

    @YalandHong

    Possible dup of #3205 and #2994

  3. added a commit that references this issue on Jul 19, 2022
  4. okool commented on Sep 4, 2022

    @okool

    shift+tab 代码取消缩进不支持么还是bug? v0.17.1
    使用markdown的用户很多都是IT工作者,没有代码格式化,还需要配合如vscode使用.

  5. morecup commented on Sep 4, 2022

    @morecup
    Author

    @okool 你可以自己编译我修复好的分支 https://github.com/morecup/marktext/tree/feature-3274-lines-tab 唯一的难点可能是node有些库需要挂代理

  6. added
    🦄 feature request
    :octocat: code block
    on May 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    :octocat: code block🦄 feature request🔭 area/editor

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions