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

Nested list gets an extra paragraph #49

Open
kingmesal opened this issue May 16, 2016 · 3 comments
Open

Nested list gets an extra paragraph #49

kingmesal opened this issue May 16, 2016 · 3 comments

Comments

@kingmesal
Copy link

kingmesal commented May 16, 2016

When running tidy on

- **Campaign**: indicates the campaign under which the user joined, defined as the following (fictional) campaigns driven by our (also fictional) marketing team:
  - **NONE** no campaign

It changes it to

- **Campaign**: indicates the campaign under which the user joined, defined as the following (fictional) campaigns driven by our (also fictional) marketing team:

  - **NONE** no campaign

Notice the blank line.

@michaelabon
Copy link

michaelabon commented May 23, 2016

This also renumbers ordered lists. It also ruins nested list items that contain code fence blocks.

Note the 3. bullet point that should be a nested 1. as well as the contents of the code fence block in:

screen shot 2016-05-23 at 9 35 51 am

as opposed to the original:

screen shot 2016-05-23 at 9 41 02 am

@eivindml
Copy link

eivindml commented Jul 2, 2016

Came here to report the same issue.

Example

@jtebert
Copy link

jtebert commented Aug 2, 2016

This issue comes from the markdown styleguide that tidy-markdown uses, which calls for newlines all over the place. This seems like an incredibly questionable choice to me, since it affects the output file (in weird ways), not just the formatting of .md. There are other specs out there that seem like better options, but from responses to other issues posted on this, the owner seems rather reluctant on this point.

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

No branches or pull requests

4 participants