mirror of
https://github.com/omnivore-app/logseq-omnivore.git
synced 2026-05-21 09:10:35 +00:00
fix: PDF page numbers start at 1 (#153)
This commit is contained in:
@@ -195,7 +195,7 @@ export const renderHighlightContent = (
|
||||
note: highlight.annotation ?? undefined,
|
||||
color: highlight.color ?? 'yellow',
|
||||
positionPercent: highlight.highlightPositionPercent,
|
||||
positionAnchorIndex: highlight.highlightPositionAnchorIndex,
|
||||
positionAnchorIndex: highlight.highlightPositionAnchorIndex + 1,
|
||||
...functionMap,
|
||||
}
|
||||
return Mustache.render(template, highlightView)
|
||||
|
||||
Reference in New Issue
Block a user