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

请教有关自定义脚本的制作 #258

Closed
pk49800 opened this issue Aug 7, 2022 · 2 comments
Closed

请教有关自定义脚本的制作 #258

pk49800 opened this issue Aug 7, 2022 · 2 comments

Comments

@pk49800
Copy link

pk49800 commented Aug 7, 2022

  1. 如何将词性(POS)显示在音标后面并且输出到模板?
    例如下面的截图,通过修改en_cn_oxford已经把原来单词每个释义的前的词性都去掉了,我想将单词对应的词性其显示在音标后面,然后输出到模版上自定义的字段。这是我修改后的gist地址
    截屏2022-08-08 00 24 20
    截屏2022-08-08 00 25 09
  2. 可以增加输出的字段吗?自制脚本可能获取多个字段的内容,但是插件仅有固定的几个字段可以选择,可否通过修改脚本实现?
@ninja33
Copy link
Owner

ninja33 commented Aug 9, 2022 via email

@pk49800
Copy link
Author

pk49800 commented Aug 9, 2022

没想到还有这种曲线救国的办法,学到了

@pk49800 pk49800 closed this as completed Aug 9, 2022
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