Skip to content
Snippets Groups Projects
Commit 57b644f4 authored by marihachi's avatar marihachi
Browse files

update doc

parent b3a8925f
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,7 @@ console.log(JSON.stringify(nodes));
MFM関数の名前をホワイトリストに登録して、登録されたMFM関数以外を通常のテキストノードとして解釈するように設定できます。
デフォルトではすべてのMFM関数名を受け入れるように設定されています。
例:
```ts
const nodes = mfm.parse('hello $[tada world]', { fnNameList: ['tada', 'spin'] });
console.log(JSON.stringify(nodes));
......
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