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

Add fragment plugin and parse fragmented list #148

Merged
merged 3 commits into from
Apr 3, 2019
Merged

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Apr 3, 2019

This PR adds Marpit fragment plugin, and parse fragmented list. It resolves #145.

When using * (for unordered list) and 1) (ordered) as the liste item, Marpit parses these as the fragmented list and add data attribute to <li> elements.

NOTE: The defined markups may be an opinionated. I want to start with a dogmatic parser for aiming to less-configuration, but it may change the target character, or make the markup configurable by global directives.

@yhatt yhatt marked this pull request as ready for review April 3, 2019 12:19
@yhatt yhatt merged commit a766742 into master Apr 3, 2019
@yhatt yhatt deleted the fragmented-list branch April 3, 2019 13:14
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.

Fragmented list
1 participant