Skip to content

The issue with Markdown and the Chinese input method [Chinese (Traditional, Taiwan)] #2116

@eddyhsiao94

Description

@eddyhsiao94

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

When I try to use "--- + space" to call out a separator line, an issue occurs. Under the Chinese input method [Chinese (Traditional, Taiwan)], after typing two "-" characters, the cursor moves forward, causing the syntax to become "- + space & --", which prevents the separator line from being generated.

A similar issue also happens with "- + >". Typing "->" successfully generates an arrow, but the cursor moves back to the front of the arrow instead of staying behind it. When using "-->", the input fails because after typing two "-", the cursor moves, changing the input from "-->" to ">--".

當我想要使用"--- + 空格"呼叫出分隔線時會產生問題,在中文輸入法下輸入兩個-後游標會向前移動,導致語法會變成"- + 空格 & --"導致沒辦法叫出分隔線。
類似的問題也出現在"- + >"時,使用->可以成功呼叫出箭頭但由標會回到箭頭前面而不是停留在後面,使用"-->"時也會因為輸入了兩個-後游標移動導致失效(輸入-->時會因為游標移動變成>--)。

Expected Behavior

When typing "--- + space," the separator line should appear correctly without causing any cursor movement or syntax issues. Similarly, when typing "->," the arrow should appear with the cursor remaining behind the arrow, and typing "-->" should not result in any cursor movement that alters the input.

Steps To Reproduce

When using Microsoft [Chinese (Traditional, Taiwan)] Input Method, this issue occurs.

Environment

- OS: Windows 11 Home Edition
- Version: 24H2 26100.3194

Anything else?

1.mp4

In the bottom-right corner of the video, you can see the language input switcher, which displays "中" for Chinese and "英" for English.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions