Skip to content
Snippets Groups Projects
Commit 605c6585 authored by marihachi's avatar marihachi
Browse files

update readme

parent 486134d8
No related branches found
No related tags found
No related merge requests found
# mfm-parser-pegjs # rosee
## Description ## Description
A MFM parser implementation with PEG.js (In developing) A MFM parser implementation with PEG.js (In developing)
## Installation ## Installation
``` ```
npm i mfm-parser-pegjs npm i rosee
``` ```
## Usage ## Usage
TypeScript: TypeScript:
```ts ```ts
import * as mfm from 'mfm-parser-pegjs'; import * as mfm from 'rosee';
// parse a MFM text // parse a MFM text
const result = mfm.parse('good morning ***everynyan!***'); const result = mfm.parse('good morning ***everynyan!***');
...@@ -22,12 +22,12 @@ const plainResult = mfm.parsePlain('I like the hot soup :soup:​'); ...@@ -22,12 +22,12 @@ const plainResult = mfm.parsePlain('I like the hot soup :soup:​');
## Usage (Repository) ## Usage (Repository)
### 1. Clone ### 1. Clone
``` ```
git clone https://github.com/marihachi/mfm-parser-pegjs.git git clone https://github.com/marihachi/rosee.git
``` ```
### 2. Install packages ### 2. Install packages
``` ```
cd mfm-parser-pegjs cd rosee
npm i npm i
``` ```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment