更新
This commit is contained in:
13
.obsidian/plugins/obsidian-extract-pdf-0.0.7/patches/@opendocsg+pdf2md+0.1.16 2.patch
vendored
Normal file
13
.obsidian/plugins/obsidian-extract-pdf-0.0.7/patches/@opendocsg+pdf2md+0.1.16 2.patch
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/node_modules/@opendocsg/pdf2md/lib/util/pdf.js b/node_modules/@opendocsg/pdf2md/lib/util/pdf.js
|
||||
index 0ed1512..e491a0b 100644
|
||||
--- a/node_modules/@opendocsg/pdf2md/lib/util/pdf.js
|
||||
+++ b/node_modules/@opendocsg/pdf2md/lib/util/pdf.js
|
||||
@@ -42,7 +42,7 @@ exports.parse = async function parse (docOptions, callbacks) {
|
||||
}
|
||||
}
|
||||
|
||||
- let pageNum = firstPage.pageNum
|
||||
+ let pageNum = 0; // firstPage.pageNum
|
||||
for (let j = 1; j <= pdfDocument.numPages; j++) {
|
||||
const page = await pdfDocument.getPage(j)
|
||||
|
||||
Reference in New Issue
Block a user