Skip to content

Commit c045bfd

Browse files
authored
Update print.html
1 parent 43e9c2d commit c045bfd

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎overrides/print.html‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,5 +129,12 @@
129129
// au chargement : tout déplier aussi à l'écran (page "papier")
130130
document.addEventListener('DOMContentLoaded', expandAll);
131131
</script>
132+
<script>
133+
window.PagedConfig = {
134+
auto: true,
135+
// ne paginer que la zone de contenu, pas le chrome résiduel
136+
content: document.querySelector('.md-content__inner'),
137+
};
138+
</script>
132139
<script src="https://unpkg.com/pagedjs/dist/paged.polyfill.js"></script>
133140
{% endblock %}

0 commit comments

Comments
 (0)