Skip to content

Commit

Permalink
introduce total count of pages (adopt eggplants/marp-theme-academic-t…
Browse files Browse the repository at this point in the history
…otal)
  • Loading branch information
kaisugi authored Jun 3, 2022
1 parent 72c22c4 commit 92e2649
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions themes/academic.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ section {
padding-right: 40px;
}

/* https://github.com/marp-team/marpit/issues/271 */
section::after {
content: attr(data-marpit-pagination) '/' attr(data-marpit-pagination-total);
}

strong {
-webkit-text-stroke: 0.3px black;
}
Expand Down

0 comments on commit 92e2649

Please sign in to comment.