Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

自定义编辑转换规则无法转换 #221

Closed
MechCrafter opened this issue Apr 18, 2024 · 5 comments
Closed

自定义编辑转换规则无法转换 #221

MechCrafter opened this issue Apr 18, 2024 · 5 comments

Comments

@MechCrafter
Copy link

我发现一个不知道是不是 bug 的 bug,我自定义编辑转换规则:todo| -> - [ ] |,我希望在输入 todo 时,转换为一个待办小空格,可是我发现如果在中文输入法下输入 todo 时,它不会转换为待办小空格,只有在英文输入法下输入 todo 它才能转换为待办小空格,同样的我自定义了一个编辑转换规则:blue| -> <font color=blue>|</font>,我只能在英文输入法下输入 blue 才能转换为 <font color=blue></font>

output

@Yaozhuwa
Copy link
Owner

这是bug,下个版本会修复~

@Yaozhuwa
Copy link
Owner

v5.3.1 已经修复,去试试吧

@MechCrafter
Copy link
Author

只能转换一部分

  • Windows11 23H2
  • obsidian v1.5.12
  • easy typing v5.3.1

我自定义了以下十个编辑转换规则

center| -> <center>|</center>

smile| -> 😊|

caption| -> <center><font size=7 face=楷体>|</font>

blue| -> <font color=blue>|</font>

red| -> <font color=red>|</font>

big| -> <font size=8>|</font>

cry| - 😭|

todo| -> - [ ] |

sub| -> <sub>|</sub>

sup| -> <sup>|</sup>

可我发现只有这三个可以在中文输入法下转换:

center| -> <center>|</center>

smile| -> 😊|

caption| -> <center><font size=7 face=楷体>|</font>

复现:

output2

@Yaozhuwa
Copy link
Owner

抱歉,V5.3.2 应该修复了,试试吧~

@MechCrafter
Copy link
Author

解决了,感谢感谢

@Yaozhuwa Yaozhuwa closed this as completed Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants