md2cv 1.0.4 → 1.1.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.
@@ -0,0 +1,74 @@
1
+ # Examples
2
+
3
+ This directory contains sample files for md2cv.
4
+
5
+ ## Sample Files
6
+
7
+ - `example-cv-en.md` - English CV sample
8
+ - `example-cv-ja.md` - Japanese CV sample
9
+ - `sample-photo.png` - Sample photo for rirekisho
10
+
11
+ ## Build Commands
12
+
13
+ ### English CV (HTML)
14
+
15
+ ```bash
16
+ node dist/bin.js -i examples/example-cv-en.md -o examples/output-en -f cv -t html -p a4
17
+ ```
18
+
19
+ ### English CV (PDF)
20
+
21
+ ```bash
22
+ node dist/bin.js -i examples/example-cv-en.md -o examples/output-en -f cv -t pdf -p a4
23
+ ```
24
+
25
+ ### Japanese CV (HTML)
26
+
27
+ ```bash
28
+ node dist/bin.js -i examples/example-cv-ja.md -o examples/output-ja -f cv -t html -p a4
29
+ ```
30
+
31
+ ### Japanese CV (PDF)
32
+
33
+ ```bash
34
+ node dist/bin.js -i examples/example-cv-ja.md -o examples/output-ja -f cv -t pdf -p a4
35
+ ```
36
+
37
+ ### Rirekisho (HTML)
38
+
39
+ ```bash
40
+ node dist/bin.js -i examples/example-cv-ja.md -o examples/output-rirekisho -f rirekisho -t html -p a3
41
+ ```
42
+
43
+ ### Rirekisho (PDF with photo)
44
+
45
+ ```bash
46
+ node dist/bin.js -i examples/example-cv-ja.md -o examples/output-rirekisho -f rirekisho -t pdf --photo examples/sample-photo.png -p a3
47
+ ```
48
+
49
+ ### Generate both CV and Rirekisho
50
+
51
+ ```bash
52
+ node dist/bin.js -i examples/example-cv-ja.md -o examples/output-both -f both -t both -p a3
53
+ ```
54
+
55
+ ### Apply custom stylesheet
56
+
57
+ ```bash
58
+ node dist/bin.js -i examples/example-cv-en.md -o examples/output-styled -f cv -t html --stylesheet path/to/custom.css -p a4
59
+ ```
60
+
61
+ ## Options
62
+
63
+ | Option | Description |
64
+ |--------|-------------|
65
+ | `-i, --input` | Input Markdown file |
66
+ | `-o, --output` | Output file path (without extension) |
67
+ | `-f, --format` | Output format: `cv`, `rirekisho`, `both` |
68
+ | `-t, --output-type` | Output type: `html`, `pdf`, `both` |
69
+ | `-p, --paper-size` | Paper size: `a3`, `a4`, `b4`, `b5`, `letter` |
70
+ | `--order` | Chronological order: `asc` (oldest first), `desc` (newest first) |
71
+ | `--photo` | Photo file for rirekisho |
72
+ | `--stylesheet` | Custom CSS file |
73
+ | `--section-order` | Section display order (comma-separated) |
74
+ | `--hide-motivation` | Hide motivation section in rirekisho |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "md2cv",
3
- "version": "1.0.4",
3
+ "version": "1.1.0",
4
4
  "description": "Transform Markdown into professional CVs and Japanese rirekisho (履歴書) - supports PDF/HTML output with multiple paper sizes",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",