Skip to content

Commit 94f0c44

Browse files
committed
0.0.18
1 parent a4035d9 commit 94f0c44

File tree

5 files changed

+12
-22
lines changed

5 files changed

+12
-22
lines changed

docs/index/interfaces/PdfOptions.md

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# Interface: PdfOptions
66

7-
Defined in: [src/transformer.ts:55](https://github.com/inokawa/remark-pdf/blob/df179a9f25c3f7aa68ab62daa54474119db994ee/src/transformer.ts#L55)
7+
Defined in: [src/mdast-to-pdf.ts:56](https://github.com/inokawa/remark-pdf/blob/a4035d9410a72288149c2c7d0644d51b34b0d1af/src/mdast-to-pdf.ts#L56)
88

99
## Extends
1010

@@ -16,7 +16,7 @@ Defined in: [src/transformer.ts:55](https://github.com/inokawa/remark-pdf/blob/d
1616

1717
> `optional` **output**: `"buffer"` \| `"blob"`
1818
19-
Defined in: [src/transformer.ts:73](https://github.com/inokawa/remark-pdf/blob/df179a9f25c3f7aa68ab62daa54474119db994ee/src/transformer.ts#L73)
19+
Defined in: [src/mdast-to-pdf.ts:73](https://github.com/inokawa/remark-pdf/blob/a4035d9410a72288149c2c7d0644d51b34b0d1af/src/mdast-to-pdf.ts#L73)
2020

2121
Set output type of `VFile.result`. `buffer` is `Promise<Buffer>`. `blob` is `Promise<Blob>`.
2222

@@ -28,37 +28,27 @@ Set output type of `VFile.result`. `buffer` is `Promise<Buffer>`. `blob` is `Pro
2828

2929
***
3030

31-
### imageResolver?
32-
33-
> `optional` **imageResolver**: `ImageResolver`
34-
35-
Defined in: [src/transformer.ts:77](https://github.com/inokawa/remark-pdf/blob/df179a9f25c3f7aa68ab62daa54474119db994ee/src/transformer.ts#L77)
36-
37-
**You must set** if your markdown includes images.
38-
39-
***
40-
4131
### info?
4232

4333
> `optional` **info**: `TDocumentInformation`
4434
45-
Defined in: [src/transformer.ts:78](https://github.com/inokawa/remark-pdf/blob/df179a9f25c3f7aa68ab62daa54474119db994ee/src/transformer.ts#L78)
35+
Defined in: [src/mdast-to-pdf.ts:74](https://github.com/inokawa/remark-pdf/blob/a4035d9410a72288149c2c7d0644d51b34b0d1af/src/mdast-to-pdf.ts#L74)
4636

4737
***
4838

4939
### fonts?
5040

5141
> `optional` **fonts**: `TFontDictionary`
5242
53-
Defined in: [src/transformer.ts:79](https://github.com/inokawa/remark-pdf/blob/df179a9f25c3f7aa68ab62daa54474119db994ee/src/transformer.ts#L79)
43+
Defined in: [src/mdast-to-pdf.ts:75](https://github.com/inokawa/remark-pdf/blob/a4035d9410a72288149c2c7d0644d51b34b0d1af/src/mdast-to-pdf.ts#L75)
5444

5545
***
5646

5747
### preventOrphans?
5848

5949
> `optional` **preventOrphans**: `boolean`
6050
61-
Defined in: [src/transformer.ts:80](https://github.com/inokawa/remark-pdf/blob/df179a9f25c3f7aa68ab62daa54474119db994ee/src/transformer.ts#L80)
51+
Defined in: [src/mdast-to-pdf.ts:76](https://github.com/inokawa/remark-pdf/blob/a4035d9410a72288149c2c7d0644d51b34b0d1af/src/mdast-to-pdf.ts#L76)
6252

6353
***
6454

docs/index/variables/default.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
# Variable: default
66

7-
> `const` **default**: `Plugin`\<\[[`PdfOptions`](../interfaces/PdfOptions.md)?\]\>
7+
> `const` **default**: `Plugin`\<\[[`PdfOptions`](../interfaces/PdfOptions.md)?\], `Root`, `Promise`\<`unknown`\>\>
88
9-
Defined in: [src/plugin.ts:13](https://github.com/inokawa/remark-pdf/blob/df179a9f25c3f7aa68ab62daa54474119db994ee/src/plugin.ts#L13)
9+
Defined in: [src/plugin.ts:20](https://github.com/inokawa/remark-pdf/blob/a4035d9410a72288149c2c7d0644d51b34b0d1af/src/plugin.ts#L20)
1010

1111
Plugin for browser

docs/node/variables/default.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
# Variable: default
66

7-
> `const` **default**: `Plugin`\<\[[`PdfOptions`](../../index/interfaces/PdfOptions.md)?\]\>
7+
> `const` **default**: `Plugin`\<\[[`PdfOptions`](../../index/interfaces/PdfOptions.md)?\], `Root`, `Promise`\<`unknown`\>\>
88
9-
Defined in: [src/node.ts:39](https://github.com/inokawa/remark-pdf/blob/df179a9f25c3f7aa68ab62daa54474119db994ee/src/node.ts#L39)
9+
Defined in: [src/node.ts:47](https://github.com/inokawa/remark-pdf/blob/a4035d9410a72288149c2c7d0644d51b34b0d1af/src/node.ts#L47)
1010

1111
Plugin for Node.js

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "remark-pdf",
3-
"version": "0.0.17",
3+
"version": "0.0.18",
44
"description": "remark plugin to compile markdown to pdf.",
55
"main": "lib/index.js",
66
"module": "lib/index.mjs",

0 commit comments

Comments
 (0)