mdx-editor / mdx-editor/editor

Deep indentation of lists does not work.

Open
#178 4 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
3.7k
Forks
307
Avg merge
14h 22m
Merged PRs (30d)
5

Description

A markdown that has more than one level of indent in lists triggers an error:

* list
    * twice nested list

Problem here is that the AST handles this only through the position, start, end attributes - something that was not necessary to calculate so far.

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 reproducing the nested-list markdown shown in the issue and inspect the AST handling for list indentation, especially the position, start, and end attributes. Done means markdown with more than one level of list indentation parses without an error and preserves the nested list structure.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.