@masumdev/markforge 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/App-JOOTPDJN.mjs +847 -0
- package/dist/{chunk-CRV7R2BG.mjs → chunk-H3ZUUSHP.mjs} +303 -98
- package/dist/{chunk-TNWZ4MFS.mjs → chunk-UNWAEVDU.mjs} +4 -3
- package/dist/cli.mjs +14 -6
- package/dist/index.d.mts +117 -50
- package/dist/index.d.ts +117 -50
- package/dist/index.js +838 -145
- package/dist/index.mjs +826 -139
- package/dist/{previewServer-XAUOBNBZ.mjs → previewServer-U47WQ5FV.mjs} +1 -1
- package/package.json +1 -1
- package/dist/App-3QDKBKHG.mjs +0 -328
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ Convert Markdown into pixel-perfect **DOCX**, **PDF**, and **HTML** with native
|
|
|
18
18
|
|
|
19
19
|
| Feature | Description |
|
|
20
20
|
| :--- | :--- |
|
|
21
|
-
| **Multi-Format Output** | Generate `.docx`, `.pdf`, and `.
|
|
21
|
+
| **Multi-Format Output** | Generate `.docx`, `.pdf`, `.html`, and `.txt` from a single Markdown source simultaneously |
|
|
22
22
|
| **Theme.CORPORATE & ThemeProps** | Flagship cyan corporate design system plus full custom colors and fonts via `ThemeProps` |
|
|
23
23
|
| **Cover Page Builder** | Four professional cover page presets (`modern`, `corporate-split`, `minimal`, `card`) with company logo |
|
|
24
24
|
| **Back Cover / Closing Page** | Dedicated closing page with company details, contact info, social links, and copyright notice |
|
|
@@ -82,7 +82,7 @@ markforge document.md --serve --port 4000 --open
|
|
|
82
82
|
| Flag | Alias | Description | Default |
|
|
83
83
|
| :--- | :---: | :--- | :--- |
|
|
84
84
|
| `<file>` | | Markdown input file path | **Required** |
|
|
85
|
-
| `--to <formats...>` | `-t` | Output formats: `docx`, `pdf`, `html`, `png` | `docx,pdf` |
|
|
85
|
+
| `--to <formats...>` | `-t` | Output formats: `docx`, `pdf`, `html`, `txt`, `png` | `docx,pdf` |
|
|
86
86
|
| `--output <dir>` | `-o` | Output directory | Same as input file |
|
|
87
87
|
| `--config <file>` | `-c` | Explicit configuration file path | Auto-discovered |
|
|
88
88
|
| `--theme <name>` | | Visual theme preset (`corporate`, `default`, `academic`, `github`, `minimal`) | `corporate` |
|
|
@@ -248,7 +248,7 @@ export default defineConfig({
|
|
|
248
248
|
},
|
|
249
249
|
|
|
250
250
|
// Document signatures and approval block
|
|
251
|
-
|
|
251
|
+
signatures: {
|
|
252
252
|
align: SignatureAlign.SPACE_BETWEEN,
|
|
253
253
|
style: SignatureStyle.BOX,
|
|
254
254
|
spacingBefore: "2.5cm",
|
|
@@ -303,7 +303,7 @@ export default defineConfig({
|
|
|
303
303
|
| `numberHeadings` | `boolean \| object` | `false` | Automated hierarchical decimal numbering for headings (`1.`, `1.1.`, etc.) |
|
|
304
304
|
| `coverPage` | `boolean \| object` | `false` | Isolated front cover page builder with presets and company logo |
|
|
305
305
|
| `backCover` | `boolean \| object` | `false` | Isolated closing back cover page builder with corporate contact info |
|
|
306
|
-
| `
|
|
306
|
+
| `signatures` | `object` | `undefined` | Formal multi-signatory approval and signing block |
|
|
307
307
|
| `math` | `boolean` | `false` | KaTeX LaTeX math equation rendering (`$inline$` and `$$block$$`) |
|
|
308
308
|
| `security` | `object` | `undefined` | ISO 32000-2 AES-256 PDF encryption, user/owner passwords, and permissions |
|
|
309
309
|
| `watermark` | `string \| object` | `undefined` | 100% unselectable diagonal watermark configuration |
|