text-tag-parser
v0.1.1
Published
Parses a given text to different tags depending on added symbol
Downloads
1
Readme
text-tag-parser
This is a very tiny module that parses your text into different format depending on given tags.
eg: "*Bold" ==> Bold
Usage
yarn add text-tag-parser
import parseText from 'text-tag-parser'
Then in your code you can call like this
parseText(String)
You can render the returned value to the DOM or use any view library of your choice to render it