@igor.dvlpr/strip-headings
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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.

Package Sidebar

Install

npm i @igor.dvlpr/strip-headings

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

4.19 kB

Total Files

5

Last publish

Collaborators

  • igor.dvlpr