-
-
Notifications
You must be signed in to change notification settings - Fork 362
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
stringify: add option to not put blank lines between definitions #501
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another recent discussion: https://spectrum.chat/unified/remark/remark-stringify-link-definitions~87666894-617a-4e22-8f50-3409fb621d23
* Change logic for tightDefinitions since the meaning of it is now reversed from definitionBlankLine. * Rename definitionSeparator -> definitionGap
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thanks!
I feel these docs suggestions make it a bit better to read, but that’s subjective. What do you think?
Co-authored-by: Titus <tituswormer@gmail.com>
Co-authored-by: Titus <tituswormer@gmail.com>
Released in 8.1.0! |
When one has a lot of consecutive definitions,
remark-stringify
adds a lot of extra vertical space when it inserts a blank line between each definition pair. This PR provides an option to change those two newlines between definition pairs into one.