marked 15.0.10 → 15.0.12

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/lib/marked.d.cts CHANGED
@@ -83,6 +83,7 @@ export declare namespace Tokens {
83
83
  href: string;
84
84
  title: string | null;
85
85
  text: string;
86
+ tokens: Token[];
86
87
  }
87
88
  interface Link {
88
89
  type: "link";
@@ -191,7 +192,7 @@ declare class _Renderer {
191
192
  br(token: Tokens.Br): string;
192
193
  del({ tokens }: Tokens.Del): string;
193
194
  link({ href, title, tokens }: Tokens.Link): string;
194
- image({ href, title, text }: Tokens.Image): string;
195
+ image({ href, title, text, tokens }: Tokens.Image): string;
195
196
  text(token: Tokens.Text | Tokens.Escape): string;
196
197
  }
197
198
  /**
package/lib/marked.d.ts CHANGED
@@ -83,6 +83,7 @@ export declare namespace Tokens {
83
83
  href: string;
84
84
  title: string | null;
85
85
  text: string;
86
+ tokens: Token[];
86
87
  }
87
88
  interface Link {
88
89
  type: "link";
@@ -191,7 +192,7 @@ declare class _Renderer {
191
192
  br(token: Tokens.Br): string;
192
193
  del({ tokens }: Tokens.Del): string;
193
194
  link({ href, title, tokens }: Tokens.Link): string;
194
- image({ href, title, text }: Tokens.Image): string;
195
+ image({ href, title, text, tokens }: Tokens.Image): string;
195
196
  text(token: Tokens.Text | Tokens.Escape): string;
196
197
  }
197
198
  /**