jarkup-ts 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/dist/index.d.ts +9 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ export type BlockComponentMap = {
|
|
|
16
16
|
Image: Image;
|
|
17
17
|
CodeBlock: CodeBlock;
|
|
18
18
|
Katex: Katex;
|
|
19
|
+
Mermaid: Mermaid;
|
|
19
20
|
Table: Table;
|
|
20
21
|
TableRow: TableRow;
|
|
21
22
|
TableCell: TableCell;
|
|
@@ -196,6 +197,14 @@ export interface Katex extends BlockComponentBase<"Katex"> {
|
|
|
196
197
|
};
|
|
197
198
|
slots?: undefined;
|
|
198
199
|
}
|
|
200
|
+
export interface Mermaid extends BlockComponentBase<"Mermaid"> {
|
|
201
|
+
type: "Mermaid";
|
|
202
|
+
id?: string;
|
|
203
|
+
props: {
|
|
204
|
+
code: string;
|
|
205
|
+
};
|
|
206
|
+
slots?: undefined;
|
|
207
|
+
}
|
|
199
208
|
export interface Table extends BlockComponentBase<"Table"> {
|
|
200
209
|
type: "Table";
|
|
201
210
|
id?: string;
|