From b7fb63afc245aec5d5034a08a144991d1138bf2b Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 18 Nov 2024 01:59:32 +0100 Subject: [PATCH] show page counter --- static/css/markdown.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/static/css/markdown.css b/static/css/markdown.css index 95116f5..2e6f9d6 100644 --- a/static/css/markdown.css +++ b/static/css/markdown.css @@ -252,4 +252,10 @@ table:not(.hljs-ln) tr th:last-child { table:not(.hljs-ln) > * { page-break-inside: avoid; } + + @page { + @bottom-right { + content: counter(page) "/" counter(pages); + } + } }