-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
How to except title slide from total number of pages of pagination? #218
Comments
Unfortunately it cannot. At a glance using CSS3 /* 🚫 This will not work */
section::after {
font-size: 1.1em;
content: calc(attr(data-marpit-pagination) - 1) ' / ' calc(attr(data-marpit-pagination-total) - 1);
} Even if We are welcome any ideas to implement for it. |
I really need it ! |
I've assigned myself to get this in the next milestone, (modified) Marpit v2. Proposal
---
paginate: true
---
Expect to render page number 1
---
Expect to render page number 2
---
<!-- paginate: skip -->
Skipped
---
<!-- paginate: true -->
Expect to render page number 3 Page number will not render in skipped pages as same as It following the common rule of local directives so can skip multiple pages by one definition of <!-- paginate: skip -->
Skipped
---
Skipped too
---
and more
---
<!-- paginate: true -->
Starting from page number 1 You can use spot directive by adding underscore prefix ---
paginate: true
---
Page 1
---
<!-- _paginate: skip -->
Skipped
---
Page 2
---
Page 3
|
Sweet!! I'm looking forword to it! |
Hello, I love this tool.
Is it possible to skip the title slide and appendix slides in the sum of page counts
data-marpit-pagination-total
? And how can I do so?the pagination style of my css thema is this:
And I wrote
<!-- paginate: false -->
at the title slide and<!-- paginate: true -->
at the second slide, so the second slide' s pagination was "2/10." I want to change it to "1/9."The text was updated successfully, but these errors were encountered: