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

Support fragmented list from Marpit v0.9.0 #81

Merged
merged 6 commits into from
Apr 9, 2019
Merged

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Apr 8, 2019

Fragmented list is a new feature of Marpit v0.9.0. It's easy to write the list to be appeared one-by-one. Just use * bullet and 1) bracket style index.

This PR supports fragmented list parsed by Marpit v0.9.0 in bespoke template. Our implementation is based on bespoke-bullet plugin, but we have extra feature for jumping to the beginning page and the ending page with considering fragments by hitting Home and End key.

Currently we are not using the stored value in data-marpit-fragment parsed by Marpit. Fragments plugin will only recognize whether it has data attribute.

If you familiar to reveal.js, you can use <div data-marpit-fragment> HTML element as a fragmented block with --html option.

Example

ToDo

  • Set correct disabled state in OSC navigation button
  • Fill unit test
  • Update README.md

@yhatt yhatt marked this pull request as ready for review April 9, 2019 00:42
@yhatt yhatt merged commit 1c3b5eb into master Apr 9, 2019
@yhatt yhatt deleted the fragmented-list branch April 9, 2019 08:54
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