diff --git a/src/lib/config.js b/src/lib/config.js index f768ec481..d951e331d 100644 --- a/src/lib/config.js +++ b/src/lib/config.js @@ -18,6 +18,7 @@ import help_pt_BR from './lang/pt-BR/help_pt-BR.md' import help_ru from './lang/ru/help_ru.md' import help_de from './lang/de/help_de.md' import help_ja from './lang/ja/help_ja.md' +import help_kr from './lang/kr/help_kr.md' import words_zh_CN from './lang/zh-CN/words_zh-CN.json' import words_zh_TW from './lang/zh-TW/words_zh-TW.json' @@ -27,6 +28,7 @@ import words_pt_BR from './lang/pt-BR/words_pt-BR.json' import words_ru from './lang/ru/words_ru.json' import words_de from './lang/de/words_de.json' import words_ja from './lang/ja/words_ja.json' +import words_kr from './lang/kr/words_kr.json' export const CONFIG = { 'help_zh-CN': help_zh_CN, 'help_zh-TW': help_zh_TW, @@ -44,7 +46,8 @@ export const CONFIG = { 'words_ru': words_ru, 'words_de': words_de, 'words_ja': words_ja, - 'langList': ['en', 'zh-CN', 'zh-TW', 'fr', 'pt-BR', 'ru', 'de', 'ja'], + 'words_kr': words_kr, + 'langList': ['en', 'zh-CN', 'zh-TW', 'fr', 'pt-BR', 'ru', 'de', 'ja', 'kr'], 'toolbars': { 'bold': true, 'italic': true, diff --git a/src/lib/lang/kr/help_kr.md b/src/lib/lang/kr/help_kr.md new file mode 100644 index 000000000..86c748fba --- /dev/null +++ b/src/lib/lang/kr/help_kr.md @@ -0,0 +1,205 @@ +@[toc](Catalog) + + +마크다운 가이드 +=== +> 자세히 보기: [http://commonmark.org/help/](http://commonmark.org/help/) + +## **볼드체(굵게)** +``` +**볼드체** +__볼드체__ +``` +## *이탈릭체(기울임꼴)* +``` +*이탈릭체* +_이탈릭체_ +``` +## 헤더 +``` +# h1 # +h1 +==== +## h2 ## +h2 +---- +### h3 ### +#### h4 #### +##### h5 ##### +###### h6 ###### +``` +## 구분선 +``` +*** +--- +``` +**** +## ^위^첨자 & ~아래~첨자 +``` +위첨자 x^2^ +아래첨자 H~2~0 +``` +## ++밑줄++ & ~~취소선~~ +``` +++밑줄++ +~~취소선~~ +``` +## ==마커== +``` +==마커== +``` +## 인용 + +``` +> quote 1 +>> quote 2 +>>> quote 3 +... +``` + +## 리스트 +``` +ol +1. +2. +3. +... + +ul +- +- +... +``` + +## 할일 + +- [x] task 1 +- [ ] task 2 + +``` +- [x] task 1 +- [ ] task 2 +``` + +## 링크 +``` +텍스트 링크 +[Text](www.baidu.com) + +이미지 링크 +![Text](http://www.image.com) +``` +## 코드블럭 +\``` type + +code block + +\``` + +\` code \` + +```c++ +int main() +{ + printf("hello world!"); +} +``` +`code` + +## 테이블 +``` +| th1 | th2 | th3 | +| :-- | :--: | ----: | +| left | center | right | +``` +| th1 | th2 | th3 | +| :-- | :--: | ----: | +| left | center | right | +| ---------------------- | ------------- | ----------------- | +## Footnote +``` +hello[^hello] +``` + +Look at the bottom[^hello] + +[^hello]: footnote + +## 이모티콘 +Detailed: [https://www.webpagefx.com/tools/emoji-cheat-sheet/](https://www.webpagefx.com/tools/emoji-cheat-sheet/) +``` +:laughing: +:blush: +:smiley: +:) +... +``` +:laughing::blush::smiley::) + +## $\KaTeX$ 수학공식 + +우리는 다음과 같이 함수를 만들 수 있습니다.:$x_i + y_i = z_i$ and $\sum_{i=1}^n a_i=0$ +단일 항으로도 가능합니다. +$$\sum_{i=1}^n a_i=0$$ +Detailed: [katex](http://www.intmath.com/cg5/katex-mathjax-comparison.php)和[katex function](https://github.com/Khan/KaTeX/wiki/Function-Support-in-KaTeX)以及[latex](https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference) + +## 레이아웃 + +::: hljs-left +`::: hljs-left` +`left` +`:::` +::: + +::: hljs-center +`::: hljs-center` +`center` +`:::` +::: + +::: hljs-right +`::: hljs-right` +`right` +`:::` +::: + +## deflist + +Term 1 + +: Definition 1 + +Term 2 with *inline markup* + +: Definition 2 + + { some code, part of Definition 2 } + + Third paragraph of definition 2. + +``` +Term 1 + +: Definition 1 + +Term 2 with *inline markup* + +: Definition 2 + + { some code, part of Definition 2 } + + Third paragraph of definition 2. + +``` + +## abbr +*[HTML]: Hyper Text Markup Language +*[W3C]: World Wide Web Consortium +The HTML specification +is maintained by the W3C. +``` +*[HTML]: Hyper Text Markup Language +*[W3C]: World Wide Web Consortium +The HTML specification +is maintained by the W3C. +``` diff --git a/src/lib/lang/kr/words_kr.json b/src/lib/lang/kr/words_kr.json new file mode 100644 index 000000000..79b742b82 --- /dev/null +++ b/src/lib/lang/kr/words_kr.json @@ -0,0 +1,54 @@ +{ + "start_editor": "작성해주세요.", + "navigation_title": "네비게이션", + "tl_bold": "굵게", + "tl_italic": "기울임꼴", + "tl_header": "헤더", + "tl_header_one": "헤더 1", + "tl_header_two": "헤더 2", + "tl_header_three": "헤더 3", + "tl_header_four": "헤더 4", + "tl_header_five": "헤더 5", + "tl_header_six": "헤더 6", + "tl_underline": "밑줄", + "tl_strikethrough": "취소선", + "tl_mark": "마커", + "tl_superscript": "위첨자", + "tl_subscript": "아래첨자", + "tl_quote": "Quote", + "tl_ol": "숫자 리스트", + "tl_ul": "점 리스트", + "tl_link": "링크", + "tl_image": "이미지 링크", + "tl_code": "코드블럭", + "tl_table": "테이블", + "tl_undo": "실행취소", + "tl_redo": "되돌리기", + "tl_trash": "삭제", + "tl_save": "저장", + "tl_navigation_on": "네비게이션 끔", + "tl_navigation_off": "네비게이션 켬", + "tl_preview": "미리보기", + "tl_aligncenter": "가운데 정렬", + "tl_alignleft": "왼쪽 정렬", + "tl_alignright": "오른쪽 정렬", + "tl_edit": "수정", + "tl_single_column": "단일 열", + "tl_double_column": "복수 열", + "tl_fullscreen_on": "전체화면 활성화", + "tl_fullscreen_off": "전체화면 종료", + "tl_read": "읽기모드", + "tl_html_on": "HTML 켬", + "tl_html_off": "HTML 끔", + "tl_help": "마크다운 가이드", + "tl_upload": "이미지 업로드", + "tl_upload_remove": "제거", + "tl_popup_link_title": "링크 삽입", + "tl_popup_link_text": "텍스트", + "tl_popup_link_addr": "링크주소", + "tl_popup_img_link_title": "이미지 추가", + "tl_popup_img_link_text": "이미지 이름", + "tl_popup_img_link_addr": "링크주소", + "tl_popup_link_sure": "삽입", + "tl_popup_link_cancel": "취소" +}