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

marked@0.6.1 #66

Merged
merged 1 commit into from
Mar 6, 2019
Merged

marked@0.6.1 #66

merged 1 commit into from
Mar 6, 2019

Conversation

davidchambers
Copy link
Member

These changes require explanation.

In order for fenced code blocks to be treated as such, Marked now requires pedantic: false (which is the default). Until now we have used pedantic: true to prevent

<div>Foo

Bar

Baz</div>

from being rendered as multiple paragraphs. Instead, we now insert ZERO WIDTH SPACE characters to avoid problematic empty lines in the Markdown input. We later remove these characters from the HTML output.

The language prefix is now language- rather than lang- in accordance with markedjs/marked#1265.

@davidchambers davidchambers merged commit 606c1e4 into gh-pages Mar 6, 2019
@davidchambers davidchambers deleted the davidchambers/marked branch March 6, 2019 18:25
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.

None yet

1 participant