@hyperlink/strip-markdown-oneline

2.0.0 • Public • Published

strip-markdown-oneline

Given a markdown input as string, returns a string where all markdown syntax is removed, and no new lines exist.

Installation

npm install strip-markdown-oneline

Usage

Input

# Title

> blockquote

## Header 2

This is a link: [search engine](https://duckduckgo.com)

Function call

const stripMarkdownOneline = require('strip-markdown-oneline')

const output = stripMarkdownOneline(input);

console.log(output)

Output

Title blockquote Header 2 This is a link: search engine

License

MIT

Package Sidebar

Install

npm i @hyperlink/strip-markdown-oneline

Weekly Downloads

2

Version

2.0.0

License

MIT

Unpacked Size

4.88 kB

Total Files

7

Last publish

Collaborators

  • hyperlink