StackExchange / StackExchange/Stacks-Editor

Task list support

Open
#272 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
437
Forks
61
Avg merge
16h 2m
Merged PRs (30d)
8

Description

Is your feature request related to a problem? Please describe.
Currently there's no task list support in stacks-editor, as described in GFM dialect. Also, when typing [ ] in markdown mode, then switching to rich text mode, then going back to markdown mode, the text is changed to \[ \].

Describe the solution you'd like
Add checkbox tool that can be accessed through the rich text mode toolbar and brackets in markdown mode.

Describe alternatives you've considered
It seems like the editor has support for custom plugins, but I couldn't find any documentation on how to implement one. If it's not possible to add this feature, I'd ask for any orientation on how to accomplish that by creating a custom plugin for it

Additional context
The editor is being used in Tasks.md and this feature is being requested for different users

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 tracing the rich-text mode toolbar and markdown-mode handling described in the issue, including the conversion path that changes [ ] into escaped text. Done means task-list checkboxes can be inserted from the toolbar and represented correctly in markdown mode without unwanted escaping; the issue names no files or tests to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
markdown, typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.