Feature: Ability to customize Markdown nested list spacing
Open
enhancement
markdown
- Dominant language
- TypeScript
- Stars
- 23.9k
- Forks
- 2.2k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 55
Description
Nested lists in markdown can work with two or four base units of spaces
For flexibility reasons, Lexical should allow consuming and emitting markdown, with a configurable amount of whitespace.
It looks like this is a "known issue" as the source code indicates this should be configurable
https://github.com/facebook/lexical/blob/main/packages/lexical-markdown/src/v2/MarkdownTransformers.js#L48
I've ended up "patching" lexical in the short term, but would love for this to be built in!
Contributor guide
Assessment
This issue has not been assessed yet.