Commit 621c1dab authored by Julie Blanc's avatar Julie Blanc

links to named pages

parent 45deec22
......@@ -98,7 +98,7 @@ For reset the page number, you need to target the reset on a specific element th
```
It's common that the first pages of the book, called frontmatter, use roman counter page and the rest of the book use decimal counter reset on the first page of this content.
Here's a simple way to do it (it's an example, you can adapt it):
A simple way to do it is to use [named pages](https://gitlab.pagedmedia.org/tools/pagedjs-documentation/blob/master/Part07_Named-paged.md). Here is an example, you can adapt it:
- create a `<section id="frontmatter">` with all the content of the frontmatter
- create a `<section id="body-content">` with all the rest of the content
- target the first element of the `body-content` which only appears on the first page of this section (the `<h1 id="h1-chap-1">`element in this example)
......
......@@ -78,6 +78,14 @@
## Part 7: Named pages [ [link](https://gitlab.pagedmedia.org/tools/pagedjs-documentation/blob/master/Part07_Named-paged.md) ]
* Named pages
* Mix page selectors and named pages
* Priority of @page rules
## FAQ [ [link](https://gitlab.pagedmedia.org/tools/pagedjs-documentation/blob/master/FAQ.md) ]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment