ghost-paper 0.1.3 → 0.3.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 +5 -3
- package/dist/-G2AWPUXZ.js +10 -0
- package/dist/chunk-B7BSOHDL.js +1534 -0
- package/dist/cli.js +16 -1285
- package/dist/pdf-PXNSBFN6.js +74 -0
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -13,14 +13,16 @@ npm install -g ghost-paper
|
|
|
13
13
|
Or run directly:
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
npx ghost-paper build report.md
|
|
16
|
+
npx ghost-paper build html report.md
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
## Usage
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
|
-
ghost-paper build report.md # → report.html
|
|
23
|
-
ghost-paper build report.md -o output.html # custom output path
|
|
22
|
+
ghost-paper build html report.md # → report.html
|
|
23
|
+
ghost-paper build html report.md -o output.html # custom output path
|
|
24
|
+
ghost-paper build pdf report.md # → report.pdf
|
|
25
|
+
ghost-paper build pdf report.md --landscape # landscape orientation
|
|
24
26
|
```
|
|
25
27
|
|
|
26
28
|
Open the resulting HTML file in any browser. Everything is self-contained — no server needed.
|