-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
Nested lists in Markdown are not wrapped when indented by more than 2 spaces #79
Comments
Update: Even with 2-space indentation, the same issue happens with lists nested two levels deep: * Nested list
* Nested list:
* This is a very very very very very very very very very very very very very long line
* This is a very very very very very very very very very very very very very long line Again, only the first item will be wrapped by Rewrap. |
Thanks for the explanation and sorry I didn't get back to you sooner. I'll work on fixing this, but meanwhile, as workaround, it works if you remove the blank lines between list items. I.e: the last item will wrap in this case:
|
Ok never mind the workaround, I think I've fixed it, and have uploaded a beta version. You can try it from https://github.com/stkb/Rewrap/releases/tag/v1.8.0-beta2. Let me know if you discover any other markdown bugs; I'm currently working on another subtle one. |
Works great, thank you for the fix! (Not sure if you were keeping this issue open for a reason; I'll leave it to you to close it.) |
Thanks! Will close when I publish the next version, which should be this weekend. |
With Rewrap 1.7.1, the following Markdown text does not seem to get rewrapped correctly:
Pressing Alt+q on the nested list items only rewraps the first. Nothing happens if I try to rewrap the second.
This also happens for numbered lists (
1.
,2.
).It only happens when the nested list is indented 4 spaces, rather than 2.
The text was updated successfully, but these errors were encountered: