From b733ace81f86c56ca2a00084c66476cc28ac32cd Mon Sep 17 00:00:00 2001 From: LolipopJ <42314340+LolipopJ@users.noreply.github.com> Date: Wed, 18 Sep 2024 01:34:54 +0800 Subject: [PATCH] release 1.4.2 --- lib/interfaces/index.d.ts | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/interfaces/index.d.ts b/lib/interfaces/index.d.ts index 80666cd..1e6f64b 100644 --- a/lib/interfaces/index.d.ts +++ b/lib/interfaces/index.d.ts @@ -42,12 +42,12 @@ export interface IConvertOptions { * HTML rendering template. This option has no effect if `htmlText` is specified * @defaultValue `default` */ - htmlTemplate?: "default" | "words"; + htmlTemplate?: string; /** * CSS rendering template. This option has no effect if `cssText` is specified * @defaultValue `default` */ - cssTemplate?: "default" | "empty" | "github" | "githubDark" | "words"; + cssTemplate?: string; /** * Rendering color theme * @defaultValue `light` diff --git a/package.json b/package.json index 1c197ae..3f6c8b2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mdimg", - "version": "1.4.1", + "version": "1.4.2", "description": "Covert Markdown or HTML to image", "keywords": [ "markdown",