marktext / marktext/marktext

Keybinding for "Insert Paragraph before"

Open
#2,596 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

:unicorn: feature request 🔭 area/editor
Dominant language
TypeScript
Stars
61.6k
Forks
4.6k
Avg merge
23h 49m
Merged PRs (30d)
89

Description

Describe your feature request

The options to create a paragraph both before and after the block you are in exist in the menu for editing so the functionality is already there, but when using keybindings it is only possible to create a new paragraph 'after' (as far as I can see).

I think a edit.create-paragraph-before option, or something similar, would be very useful.

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

Locate the existing edit.create-paragraph-after keybinding and the menu action that creates a paragraph before the current block. Add a corresponding before action or keybinding entry, then verify that it performs the same operation available from the editing menu.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.