mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 04:49:15 +08:00
* [ascii2mathml] add typings (v0.5.4) * [intl] add typings * [remove-markdown] add typings * [ascii2mathml][intl][remove-markdown] fix lint * [intl] fix project link * [ascii2mathml] fix test error
17 lines
485 B
TypeScript
17 lines
485 B
TypeScript
// Type definitions for remove-markdown 0.1
|
|
// Project: https://github.com/stiang/remove-markdown
|
|
// Definitions by: Muhammad Ragib Hasin <https://github.com/RagibHasin>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
export = RemoveMarkdown;
|
|
|
|
/**
|
|
* Strip Markdown formatting from text
|
|
* @param markdown Markdown text
|
|
* @param options
|
|
*/
|
|
declare function RemoveMarkdown(markdown: string, options?: {
|
|
stripListLeaders?: boolean
|
|
gfm?: boolean
|
|
}): string;
|