Skip to content

Commit 1beb474

Browse files
v25.7.0
1 parent 72f6d97 commit 1beb474

File tree

7 files changed

+14
-6
lines changed

7 files changed

+14
-6
lines changed

AsposePDFforNode.cjs

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

AsposePDFforNode.mjs

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

AsposePDFforNode.wasm.gz

132 KB
Binary file not shown.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Add PDF processing, manipulation, and conversion features to your Node.js applic
2020
- **Office formats:** DOC, DOCX, XLS, XLSX, PPTX
2121
- **Web formats:** SVG, SVG (ZIP), XPS, EPUB
2222
- **Image formats:** JPEG, PNG, BMP, TIFF, DICOM
23-
- **Other formats:** Grayscale PDF, PDF/A, TeX, TXT
23+
- **Other formats:** Grayscale PDF, PDF/A, TeX, TXT, Markdown
2424
- **Manipulate** PDF structure and content:
2525
- Bookmarks, hyperlinks, annotations, attachments, JavaScript
2626
- Fonts, metadata, layers, background color

example.cjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,10 @@ AsposePdf().then(AsposePdfModule => {
124124
json = AsposePdfModule.AsposePdfPagesToPDF(pdf_file, resultdir + "ResultPdfToPDF{0:D2}.pdf");
125125
console.log("25. AsposePdfPagesToPDF => %O", json.errorCode == 0 ? json.filesNameResult : json.errorText);
126126

127+
//AsposePdfToMarkdown - Convert a PDF-file to Markdown
128+
json = AsposePdfModule.AsposePdfToMarkdown(pdf_file, resultdir + "ResultPdfToMarkdown.md");
129+
console.log("26. AsposePdfToMarkdown => %O", json.errorCode == 0 ? json.fileNameResult : json.errorText);
130+
127131
/*Convert to PDF*/
128132
console.log("Convert to PDF:");
129133

example.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,10 @@ console.log("24. AsposePdfExportXml => %O", json.errorCode == 0 ? json.fileNameR
124124
json = AsposePdfModule.AsposePdfPagesToPDF(pdf_file, resultdir + "ResultPdfToPDF{0:D2}.pdf");
125125
console.log("25. AsposePdfPagesToPDF => %O", json.errorCode == 0 ? json.filesNameResult : json.errorText);
126126

127+
//AsposePdfToMarkdown - Convert a PDF-file to Markdown
128+
json = AsposePdfModule.AsposePdfToMarkdown(pdf_file, resultdir + "ResultPdfToMarkdown.md");
129+
console.log("26. AsposePdfToMarkdown => %O", json.errorCode == 0 ? json.fileNameResult : json.errorText);
130+
127131
/*Convert to PDF*/
128132
console.log("Convert to PDF:");
129133

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "asposepdfnodejs",
33
"description": "Aspose.PDF for Node.js via C++",
4-
"version": "25.6.0",
4+
"version": "25.7.0",
55
"homepage": "https://products.aspose.com/pdf/nodejs-cpp/",
66
"readmeFilename": "README.md",
77
"main": "./AsposePDFforNode.cjs",

0 commit comments

Comments
 (0)