Closed Neos21 closed 1 year ago
I found other bug with the character 「
and 」
. Maybe more characters have same bug.
Welcome @Neos21! 👋 Sorry you ran into a spot of trouble.
Some background, remark
implements commonmark (https://commonmark.org/) or with remark-gfm
implements GFM (https://github.github.com/gfm/).
The output you are currently seeing from remark
is expected, it is how emphasis works in commonmark and GFM.
and example gfm rendering the content here on GitHub itself:
remark
implements commonmark to spec, the implementation as is matches the behavior, differing would be a bug.
The way to make a change would be to have the commonmark standard change. If you'd like to nudge commonmark towards better supporting more languages, feel free to reach out in the specification discussion forum (https://talk.commonmark.org/) In particular this thread https://talk.commonmark.org/t/emphasis-and-east-asian-text/2491
Hi! This was closed. Team: If this was fixed, please add phase/solved
. Otherwise, please add one of the no/*
labels.
Initial checklist
Affected packages and versions
remark-parse@7.0.1, remark-rehype@8.0.0
Link to runnable example
No response
Steps to reproduce
I use Node.js v18.12.1 and npm v8.19.2. I wrote vanilla Node.js script.
package.json
:devDependencies
<em>
<strong>
、
and。
maybe...?Expected behavior
Actual behavior
Runtime
Node v17, Other (please specify in steps to reproduce)
Package manager
npm 8
OS
Windows
Build and bundle tools
Other (please specify in steps to reproduce)