-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
More flexible fragments #195
Comments
It's possible by using HTML with Here's my grocery list:
<div data-marpit-fragment>
- Milk
- Eggs
</div> (In CommonMark specification, extra lines around tag are required to render fragmented HTML correctly) See also an example for fragments in my gist: This usage is the out of recommendation in Marpit because the framework cannot detect the total number of fragments correctly. It's a reason why that is not documented. |
For those who wonders, |
For those using vscode (after enabling html), fragments will not work in the preview and also not in the pdf. |
Fragmented lists are great! Sometimes, though, I want to display the whole list at once. For example:
press right arrow
This seems to be a special case of being able to explicitly specify which fragments an element is visible for.
I know LaTeX Beamer has something like this. If there's a way to make it happen, I couldn't see it in the docs.
The text was updated successfully, but these errors were encountered: