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) no empty line at the end of markdown embed #203

Merged
merged 1 commit into from
Feb 8, 2021

Conversation

dummdidumm
Copy link
Member

Prettier's markdown parser tries to strip the last hardline of the embedded docs, but fails to do so in our case because it does not recurse into concat parts -> we need to strip it ourselves.
Fixes #202

Prettier's markdown parser tries to strip the last hardline of the embedded docs, but fails to do so in our case because it does not recurse into concat parts -> we need to strip it ourselves.
Fixes sveltejs#202
@dummdidumm dummdidumm merged commit 92adf06 into sveltejs:master Feb 8, 2021
@dummdidumm dummdidumm deleted the fix-markdown branch February 8, 2021 09:50
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

Successfully merging this pull request may close these issues.

Don't append trailing newline when parsing markdown code blocks
1 participant