The page number is displayed at the bottom-right of the slide.
Enable pagination in the frontmatter:
--- paginate: true ---
Page numbers are rendered using section::after pseudo-element.
section::after
--pagination-margin-x
var(--outer-margin-x)
--pagination-margin-y
var(--outer-margin-y)
--pagination-font-size
var(--font-size-xs)
--pagination-color-text
var(--color-grey-medium)
Use _paginate: false to hide on specific slides:
_paginate: false
<!-- _paginate: false -->
This slide has no page number.
Override font size and color:
--- style: | :root { --pagination-font-size: 1.2em; --pagination-color-text: #3b91c4; } ---
The page number on this slide is larger and blue.