https://github.com/olivierjm/textparser
parse tagged text in a html friendly format
https://github.com/olivierjm/textparser
npm npm-package
Last synced: 3 months ago
JSON representation
parse tagged text in a html friendly format
- Host: GitHub
- URL: https://github.com/olivierjm/textparser
- Owner: OlivierJM
- Created: 2019-01-30T16:05:24.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-04T08:01:43.000Z (over 6 years ago)
- Last Synced: 2025-03-19T06:44:13.356Z (3 months ago)
- Topics: npm, npm-package
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# text-tag-parser
[](https://standardjs.com)
> 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
Contributors
@CoolNerd504