diff --git a/src/settings/template.ts b/src/settings/template.ts index c49b87b..096494b 100644 --- a/src/settings/template.ts +++ b/src/settings/template.ts @@ -208,7 +208,7 @@ export const renderArticleContnet = async ( labels: renderLabels(highlight.labels), color: highlight.color ?? 'yellow', positionPercent: highlight.highlightPositionPercent, - positionAnchorIndex: highlight.highlightPositionAnchorIndex, + positionAnchorIndex: highlight.highlightPositionAnchorIndex + 1, // PDF page numbers start at 1 }; }); const dateSaved = formatDate(article.savedAt, dateSavedFormat);