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

[Suggestion] Possible improvement to "Add File Link" function #556

Open
envico801 opened this issue Mar 22, 2024 Discussed in #555 · 5 comments · May be fixed by #557
Open

[Suggestion] Possible improvement to "Add File Link" function #556

envico801 opened this issue Mar 22, 2024 Discussed in #555 · 5 comments · May be fixed by #557

Comments

@envico801
Copy link

envico801 commented Mar 22, 2024

Discussed in #555

Originally posted by dragonlau0924 March 22, 2024
Hello developer, thank you very much for sharing the Anki plugin. I have some suggestions. Could you please display the link passed into Anki in the "Add File Link" as a file name instead of "Obsidian"? This would make it easier for me to know which note I have reviewed, which would be more practical.


It could be useful for some people.

I left a possible solution in #557.

@smaroukis
Copy link

+1, I would also like to see the flashcard link to the block of the created card in the markdown file since I typically put all of my anki cards in the same file. I think the Flashcards plugin has this feature

@envico801
Copy link
Author

+1, I would also like to see the flashcard link to the block of the created card in the markdown file since I typically put all of my anki cards in the same file. I think the Flashcards plugin has this feature

It is an interesting approach, in the pull request I created only the name of the link changes. A better solution would be the one you mention, but I can't think of a way to place you in the question that generated the card, as if it were a link.

I know markdown is capable of using the # headers to redirect the cursor to that specific position, but if the question doesn't use them, I don't know what to use to move the cursor to that position. I had thought of using the ID generated by the question but I don't know how feasible it is.

@smaroukis
Copy link

smaroukis commented Apr 18, 2024 via email

@envico801
Copy link
Author

envico801 commented Apr 18, 2024

Sounds interesting, I don't think I can implement that, or at least not in this version of the plugin, maybe one of the repository maintainers knows more about it.

Maybe I can implement it in the custom version of the plugin I'm using. Sounds like a very useful idea

@norcx
Copy link

norcx commented May 22, 2024

I think the Flashcard plugins uses block references to do this, as there's a caret (^) in the note ID that is inserted into the .md file.
我认为抽认卡插件使用块引用来做到这一点,因为有
插入到 .md 文件中的注释 ID 中的插入符号 (^)。

On Tue, Apr 16, 2024 at 4:40 PM Enzo Davico @.> wrote: +1, I would also like to see the flashcard link to the block of the created card in the markdown file since I typically put all of my anki cards in the same file. I think the Flashcards plugin has this feature It is an interesting approach, in the pull request I created only the name of the link changes. A better solution would be the one you mention, but I can't think of a way to place you in the question that generated the card, as if it were a link. I know markdown is capable of using the # headers to redirect the cursor to that specific position, but if the question doesn't use them, I don't know what to use to move the cursor to that position. I had thought of using the ID generated by the question but I don't know how feasible it is. — Reply to this email directly, view it on GitHub <#556 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACIBNWDGMFUTHZTD5GGZMH3Y5WECLAVCNFSM6AAAAABFDS5ADCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJZHA4DMOJYGY . You are receiving this because you commented.Message ID: @.>
My modified version of the plugin accomplishes this. You can check it out by clicking here. I just don't know how to merge it to the main project.

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

Successfully merging a pull request may close this issue.

3 participants