mirror of
https://activitypub.software/TransFem-org/sfm-js
synced 2024-11-21 21:55:09 +00:00
update doc
This commit is contained in:
parent
2a2a961302
commit
238ac6b901
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ console.log(JSON.stringify(nodes));
|
|||
```ts
|
||||
const nodes = mfm.parse('hello $[tada world]');
|
||||
const output = mfm.toString(nodes);
|
||||
console.log(output); // => "hello [tada world]"
|
||||
console.log(output); // => "hello $[tada world]"
|
||||
```
|
||||
※元の文字列とtoString APIで出力される文字列の同一性は保障されません。
|
||||
|
||||
|
|
Loading…
Reference in a new issue