1.0.1 ā€¢ Published 1 year ago

@igor.dvlpr/strip-headings v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

StripHeadings

ā›ø Strips Markdown headings! šŸ¹

āœØ Install

Install it by running:

npm i "@igor.dvlpr/strip-headings"

šŸ•µšŸ¼ā€ā™‚ļø Usage

function stripHeadings(value: string): string

Strips Markdown headings completely.

value: string - the Markdown string to process.

returns - the processed string.

function stripHeadingsCode(value: string): string

Strips only the Markdown code while keeping the heading text.

value: string - the Markdown string to process.

returns - the processed string.