MacDownApp / MacDownApp/macdown

Use tab to indent list items

Open
#161 18 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted
Dominant language
Rich Text Format
Stars
9.8k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Just saw this GIF (from [this post](http://efcl.info/2014/07/19/study-note/)):

![](http://i.gyazo.com/465772eac81687cb97b9882b95a5af58.gif)

Currently MacDown allows cmd+] for indentation, but most editors (see TextEdit, Pages, MS Word, etc.) use tab for that purpose. Even I sometimes need to remind myself tab doesn’t work that way in MacDown.

AFAIK it doesn’t really make sense to insert tabs in the first line of a list item. But I’m not sure whether it’s just me. Please offer your thought on this, and if it does make sense I’ll start implementing it after the next release.

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

Start by locating MacDown's editor handling for list indentation and the existing cmd+] behavior. Check how tab is treated on the first line and within list items, then verify that tab indents list items without inserting unwanted indentation elsewhere. The issue does not name a file or test, so the relevant entry point and validation coverage must be found in the repository.

Written by the indexing model from the issue text.

Assessment

Tech stack
objective-c
Domain
desktop
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.