Skip to content

Make CommonMark more friendly for Japanese/Chinese/Korean (CommonMark next specification draft)—plugins & patched packages

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE-spec
Notifications You must be signed in to change notification settings

tats-u/markdown-cjk-friendly

Repository files navigation

Markdown packages in CommonMark revision candidate compatible with Chinese, Japanese, and Korean (CJK)

Packages / パッケージ一覧 / 包裹 / 패키지 목록

Planned / 予定 / 计划 / 예정

  • GFM strikethrough fix for micromark / remark

Specification / 規格書 / 规范 / 규정서

See specification.md.

specification.md(英語) を参照してください。

参考 specification.md(英文)。

specification.md(영어)를 참고해 주시기 바라요.

Documents for implementers / 実装者向け文書 / 实施者文件 / 구현자를 위한 문서

Problem / 問題 / 问题 / 문제점

CommonMark has a problem that the following emphasis marks ** are not recognized as emphasis marks in Japanese,Chinese, and Korean.

CommonMarkには、日本語・中国語・韓国語内の次のような強調記号(**)が強調記号として認識されない問題があります。

CommonMark存在以下问题:在中文、日语和韩语文本中,强调标记**不会被识别为强调标记。

CommonMark는 일본어와 중국어에서 다음과 같은 강조 표시 **가 강조 표시로 인식되지 않는 문제가 있습니다.

**このアスタリスクは強調記号として認識されず、そのまま表示されます。**この文のせいで。

**该星号不会被识别,而是直接显示。**这是因为它没有被识别为强调符号。

**이 별표는 강조 표시로 인식되지 않고 그대로 표시됩니다(이 괄호 때문에)**이 문장 때문에.

This problem occurs because the character just inside the ** is a (Japanese or Chinese) punctuation mark (。) or parenthesis and the character just outside is not a space or punctuation mark.

これが起こった原因は、終了側の**のすぐ内側が約物(。やカッコ)、かつ外側が約物や空白以外の文字であるためです。

这个问题是因为在**的结束部分,内侧字符是标点符号(。)或括号,而外侧字符不是空格或标点符号。

이 문제는 ** 바로 안쪽의 문자가 (일본어나 중국어) 문장 부호(。) 또는 괄호이고 바깥쪽 문자가 공백이나 문장 부호가 아니기 때문에 발생합니다.

Of course, not only the end side but also the start side has the same issue.

もちろん終了側だけでなく、開始側も同様の問題が存在します。

当然,不仅是结束侧,开始侧也存在同样的问题。

물론 끝나는 부분뿐만 아니라 시작하는 부분에서도 동일한 문제가 있습니다.

CommonMark issue: commonmark/commonmark-spec#650

Contributing / 貢献 / 贡献 / 기여

Submit an issue or PR / Issue・PRの投稿 / 提出一个 issue 或 PR / 이슈 및 PR 제출

Please submit an issue or PR in English or Japanese. English is recommended.

Issue・PRは英語か日本語で投稿してください。英語を推奨します。

请用英语或日语提交问题或 PR。建议使用英语。

이슈나 PR은 영어 또는 일본어로 제출해 주시기 바랍니다. 영어를 권장합니다.

Build

This repository adopts PNPM as a package manager.

To build all packages, run:

pnpm i
node --run build

To run tests, run:

node --run test

About

Make CommonMark more friendly for Japanese/Chinese/Korean (CommonMark next specification draft)—plugins & patched packages

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE-spec

Stars

Watchers

Forks

Packages

No packages published