windingwind

Results 347 comments of windingwind

We won't support all the syntax of qmd (unless you would like to PR for that). We can allow export/import of other file extensions, though.

Looks really nice! Every time I come to try this PR there are always surprises. Seems like we need `scrollbar-color: var(--color-scrollbar) var(--color-scrollbar-background);` for most of the scrollable elements here: After...

请确认是不是你选择了无效的源语言。未见官方文档中去除了source_lang。 https://developers.deepl.com/docs/api-reference/translate

如果language字段为空,默认从标题/摘要推断。推断的不一定准确

https://github.com/windingwind/zotero-pdf-translate/blob/main/src/utils/config.ts#L477

一篇文章的语言是前后一致的,可以推断一次即缓存; 从内容推断更容易出问题,例如一些中文外文混杂的内容。 总的来说,是语言推断的库稳定性不足。可以考虑搜索一下是否有更可靠的库,或允许用户预设一些可用语言,排除可用语言之外的推断结果,避免因为一些专业词汇导致被推断成小语种

一般不考虑无上级条目的纯附件条目,这不是推荐的zotero使用方法。若topItem不为regular item,也许直接停止推断语言较合适。

使用默认语言即可

Thanks for the feedback. Not very sure, but it sounds like it's the behavior described in https://www.markdownguide.org/basic-syntax/#line-breaks, that the plugin obeys while Obsidian does not? Usually, when you have a...

You may convert all `\\n` line breaks to ``, which is recognized by most editors like Obsidian and also correctly parsed when syncing back. ``` # This template is specifically...