1943time / inkdown

A WYSIWYG Markdown editor, improve reading and editing experience. and generate your Markdown files into online documents in the easiest and fastest way.
https://www.inkdown.me
GNU Affero General Public License v3.0
849 stars 35 forks source link

Automatically identify and convert "full-width" versions of Markdown syntax #50

Closed chen-yingfa closed 5 months ago

chen-yingfa commented 5 months ago

When editing a Chinese document, it can be tedious to change between full-width and half-width (全角 and 半角) characters for using Markdown syntax, and I wish that the editor could automatically identify the full-width versions of Markdown syntax and convert them into half-width versions. E.g., when entering ¥¥ and a next line, the editor should convert it into $$ and start a math block. The same applies to ···{language} -> ```{language}.

1943time commented 5 months ago

Code fence and block level formulas can add this kind of transformation, but other elements will not be added temporarily because i don't want to add too much transformation black magic yet.