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

Don't generate ToC via Markdown; use HTML instead #52

Merged
merged 16 commits into from
Nov 28, 2020
Merged

Don't generate ToC via Markdown; use HTML instead #52

merged 16 commits into from
Nov 28, 2020

Conversation

allejo
Copy link
Owner

@allejo allejo commented Nov 28, 2020

With the rise of the "GFM" markdown parser for Jekyll, generating kramdown specific markdown is no longer viable. So let's do my next favorite thing (after parsing HTML as strings) of generating HTML as strings! 🎉

This has been a fairly significant rewrite of this project so I'm bumping the version to 1.1.x

/cc @chrisyeh96
/cc @mosabua

Fixes #46

chrisyeh96 and others added 5 commits November 28, 2020 01:24
Removes extra whitespace in HTML opening tags (li, ul, ol, a) when there are no attributes and classes. For example, "<li >" is fixed to be "<li>", and "<a >" is fixed to be "<a>".
Remove extraneous whitespace
@allejo allejo marked this pull request as ready for review November 28, 2020 23:45
@allejo allejo merged commit 7cf23b7 into master Nov 28, 2020
@allejo allejo deleted the develop branch November 28, 2020 23:53
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.

Incompatibility with "GFM" parser
2 participants