@notable/html2markdown
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -12,5 +12,11 @@ declare type Options = { | ||
strongDelimiter?: '__' | '**'; | ||
parser?: Parser; | ||
}; | ||
declare type Parser = { | ||
new (): { | ||
parseFromString: (html: string, mimeType?: string) => Document; | ||
}; | ||
}; | ||
declare type TurndownOptions = import('turndown').Options; | ||
declare type TurndownService = import('turndown'); | ||
export type { Options, TurndownOptions, TurndownService }; |
@@ -5,3 +5,3 @@ { | ||
"description": "A small function for converting HTML to Markdown.", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"type": "module", | ||
@@ -8,0 +8,0 @@ "main": "dist/index.js", |
@@ -14,5 +14,12 @@ | ||
linkStyle?: 'inlined' | 'referenced', | ||
strongDelimiter?: '__' | '**' | ||
strongDelimiter?: '__' | '**', | ||
parser?: Parser | ||
}; | ||
type Parser = { | ||
new (): { | ||
parseFromString: ( html: string, mimeType?: string ) => Document | ||
} | ||
}; | ||
type TurndownOptions = import ( 'turndown' ).Options; | ||
@@ -19,0 +26,0 @@ |
78921
2140