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

fix(markdown): only indent the first non-list node in checkbox list item #3297

Merged
merged 3 commits into from Nov 21, 2017

Conversation

ikatyang
Copy link
Member

Fixes #3295

@@ -5,9 +5,9 @@ exports[`checkbox.md 1`] = `
- [x] this is a long long long long long long long long long long long long long long paragraph.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* [ ] this is a long long long long long long long long long long long long long
long paragraph.
long paragraph.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is kinda undesirable; can we keep the alignment for non-checked list items?

@ikatyang ikatyang changed the title fix(markdown): do not indent checkbox fix(markdown): only indent the first non-list node in checkbox list item Nov 21, 2017
@ikatyang ikatyang merged commit d5a3abd into prettier:master Nov 21, 2017
@ikatyang ikatyang deleted the fix/markdown-checkbox branch November 21, 2017 16:02
@suchipi suchipi added this to the 1.9 milestone Nov 28, 2017
@lock lock bot added the locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. label Jan 19, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jan 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants