Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/olivierjm/textparser
parse tagged text in a html friendly format
https://github.com/olivierjm/textparser
npm npm-package
Last synced: 27 days 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 (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-04T08:01:43.000Z (almost 6 years ago)
- Last Synced: 2024-11-20T18:03:51.397Z (about 1 month ago)
- Topics: npm, npm-package
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# text-tag-parser
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](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