mirror of
https://activitypub.software/TransFem-org/sfm-js
synced 2024-11-24 23:15:14 +00:00
update readme
This commit is contained in:
parent
486134d8c4
commit
605c6585c7
1 changed files with 5 additions and 5 deletions
10
README.md
10
README.md
|
@ -1,16 +1,16 @@
|
|||
# mfm-parser-pegjs
|
||||
# rosee
|
||||
## Description
|
||||
A MFM parser implementation with PEG.js (In developing)
|
||||
|
||||
## Installation
|
||||
```
|
||||
npm i mfm-parser-pegjs
|
||||
npm i rosee
|
||||
```
|
||||
|
||||
## Usage
|
||||
TypeScript:
|
||||
```ts
|
||||
import * as mfm from 'mfm-parser-pegjs';
|
||||
import * as mfm from 'rosee';
|
||||
|
||||
// parse a MFM text
|
||||
const result = mfm.parse('good morning ***everynyan!***');
|
||||
|
@ -22,12 +22,12 @@ const plainResult = mfm.parsePlain('I like the hot soup :soup:');
|
|||
## Usage (Repository)
|
||||
### 1. Clone
|
||||
```
|
||||
git clone https://github.com/marihachi/mfm-parser-pegjs.git
|
||||
git clone https://github.com/marihachi/rosee.git
|
||||
```
|
||||
|
||||
### 2. Install packages
|
||||
```
|
||||
cd mfm-parser-pegjs
|
||||
cd rosee
|
||||
npm i
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue