From 8cd2d63782369a19a01d9dc608cfd23850dec23d Mon Sep 17 00:00:00 2001
From: marihachi <marihachi0620@gmail.com>
Date: Sat, 27 Mar 2021 00:34:01 +0900
Subject: [PATCH] update readme

---
 README.md | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/README.md b/README.md
index ca9196a..c771711 100644
--- a/README.md
+++ b/README.md
@@ -12,20 +12,24 @@ TypeScript:
 ```ts
 import * as mfm from 'rosee';
 
-const input =
+const inputText =
 `<center>
 Hello [tada everynyan! 🎉]
 
-I'm @ai, An bot of misskey!
+I'm @ai, A bot of misskey!
 
 https://github.com/syuilo/ai
 </center>`;
 
-// parse a MFM text
-const result = mfm.parse(input);
+// Generate a MFM tree from the MFM text.
+const mfmTree = mfm.parse(inputText);
+
+// Generate a MFM tree from the MFM plain text.
+const plainMfmTree = mfm.parsePlain('I like the hot soup :soup:​');
+
+// Reverse to a MFM text from the MFM tree.
+const text = mfm.toString(mfmTree);
 
-// parse a MFM plain text
-const plainResult = mfm.parsePlain('I like the hot soup :soup:​');
 ```
 
 ## Usage (Repository)
-- 
GitLab