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

Do not output blank lines between definitions #55

Closed
retorquere opened this issue Sep 12, 2015 · 7 comments
Closed

Do not output blank lines between definitions #55

retorquere opened this issue Sep 12, 2015 · 7 comments
Labels
🤷 no/invalid This cannot be acted upon 🙋 no/question This does not need any changes remark

Comments

@retorquere
Copy link

Source and reprocessed versions at https://gist.github.com/anonymous/3bf6b6095f73702c187d

@wooorm
Copy link
Member

wooorm commented Sep 12, 2015

Yup, it does. mdast inserts new-lines between definitions, like it does between other block-nodes. What’s the question?

@retorquere
Copy link
Author

retorquere commented Sep 12, 2015 via email

@wooorm
Copy link
Member

wooorm commented Sep 13, 2015

We could have a setting for that.

mdast cannot “round trip cleanly”, because it doesn’t store everything inside the syntax tree.

@wooorm wooorm changed the title mdast.process adds newlines not present in markdown source Do not output blank lines between definitions Sep 13, 2015
@retorquere
Copy link
Author

retorquere commented Sep 13, 2015 via email

@wooorm
Copy link
Member

wooorm commented Sep 13, 2015

👍 Can I close this? Or do you want an option for this?

@retorquere
Copy link
Author

retorquere commented Sep 13, 2015 via email

@wooorm
Copy link
Member

wooorm commented Sep 13, 2015

👍

@wooorm wooorm closed this as completed Sep 13, 2015
@wooorm wooorm added 🤷 no/invalid This cannot be acted upon 🙋 no/question This does not need any changes remark labels Jan 10, 2016
wooorm pushed a commit that referenced this issue Jun 8, 2020
Related-to GH-55.
Closes GH-501.

Reviewed-by: Titus Wormer <tituswormer@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤷 no/invalid This cannot be acted upon 🙋 no/question This does not need any changes remark
Development

No branches or pull requests

2 participants