Skip to content

igorskyflyer/npm-strip-headings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.