Skip to content

Commit

Permalink
Add example that shows page range focus
Browse files Browse the repository at this point in the history
This is to support testing #6006,
#5937 and
#5936.
  • Loading branch information
robertknight committed Jan 4, 2024
1 parent 90cab72 commit b43097e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dev-server/documents/pdf/gatsby-section.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"clientConfig": {
"focus": {
"pages": "10-30"
}
}
}
Binary file added dev-server/documents/pdf/gatsby-section.pdf
Binary file not shown.
1 change: 1 addition & 0 deletions dev-server/templates/index.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
visit</a></li>
<li><a href="/pdf/painting">PDF without selectable text</a></li>
<li><a href="/pdf/gatsby">The Great Gatsby</a> (A long document)</li>
<li><a href="/pdf/gatsby-section">The Great Gatsby - Page range focus active</a></li>
<li><a href="/pdf/jstor">PDF with JSTOR banner</a></li>
<li><a href="/pdf/custom-page-numbers">PDF with custom page numbers</a></li>
</ul>
Expand Down

0 comments on commit b43097e

Please sign in to comment.