marktext / marktext/marktext

改进代码编写缩进。Improve code section indentation writing.

Open
#2,994 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

:octocat: code block :unicorn: feature request
Dominant language
TypeScript
Stars
61.6k
Forks
4.6k
Avg merge
23h 49m
Merged PRs (30d)
89

Description

Describe your feature request

使用Control+[Control+]来减少或增加代码缩进

use Control+[ and Control+] to decrease and increase the indentation

I mean ``` in markdown

What problem does this feature solve? [optional]

可以一次性为一段代码增加或减少tab缩进,方便编写

We can increase or decrease tab indentation for a piece of code at once.

Additional context [optional]

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name any files, tests, or entry points. Start by locating the Markdown code-block editing behavior and existing keyboard-shortcut handling, then verify that Control+[ and Control+] adjust indentation for a selected code block without affecting unrelated text.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, markdown, typescript
Domain
desktop, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.