diff --git a/docs/src/pages/docs/api/disassemble.en.md b/docs/src/pages/docs/api/disassemble.en.md index d971e131..674d85e5 100644 --- a/docs/src/pages/docs/api/disassemble.en.md +++ b/docs/src/pages/docs/api/disassemble.en.md @@ -33,9 +33,9 @@ disassemble('ㄵ'); // 'ㄴㅈ' ```ts index.ts -import { disassembleHangul } from 'es-hangul'; +import { disassemble } from 'es-hangul'; -console.log(disassembleHangul('값')); +console.log(disassemble('값')); ``` diff --git a/docs/src/pages/docs/api/disassemble.ko.md b/docs/src/pages/docs/api/disassemble.ko.md index acc0d849..8a72835f 100644 --- a/docs/src/pages/docs/api/disassemble.ko.md +++ b/docs/src/pages/docs/api/disassemble.ko.md @@ -2,6 +2,8 @@ title: disassemble --- +import { Sandpack } from '@/components/Sandpack'; + # disassemble 한글 문자열을 글자별로 초성/중성/종성 단위로 완전히 분리하여, 하나의 문자열로 만듭니다. @@ -23,3 +25,17 @@ disassemble('값이 비싸다'); // 'ㄱㅏㅂㅅㅇㅣ ㅂㅣㅆㅏㄷㅏ' disassemble('ㅘ'); // 'ㅗㅏ' disassemble('ㄵ'); // 'ㄴㅈ' ``` + +## 사용해보기 + +
+ + + +```ts index.ts +import { disassemble } from 'es-hangul'; + +console.log(disassemble('값')); +``` + +