Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tui][edi] List continuation on new line #313

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Harshil-Jani
Copy link
Contributor

Implemented list continuation for

  • Unordered lists
  • Ordered lists
  • Checkboxes

One though of reflection was that I tried to understand about the AST from MdDocument data structure but it was way to much of work since we would be need to replace lines from the editor buffer with AST implementation. But an added advantage would be the inline list continual. As per the current thinking, we try parsing each line and inlines doesn't have a way by which we can tell it is a part of smart list. Having an AST would help us know if the case is part of list or not. It's a good trade off. I hope the PR would really make a clear thought on if we need AST or not.

Signed-off-by: Harshil-Jani <harshiljani2002@gmail.com>
Signed-off-by: Harshil-Jani <harshiljani2002@gmail.com>
[tui][edi] Auto-Closing tags for delimeters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant