Skip to content
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.

anki cloze note /{audio} problem #419

Closed
FireKingY opened this issue Mar 23, 2020 · 5 comments · Fixed by #477
Closed

anki cloze note /{audio} problem #419

FireKingY opened this issue Mar 23, 2020 · 5 comments · Fixed by #477

Comments

@FireKingY
Copy link

I'd like fill my fied like {{c1::{expression}}} {{c2::{audio}}}, but the result is {{c2::教師}}{{c1::}}[sound:yomichan_きょうし_教師.mp3].

It semms the {audio} will always be appended at end. Is there any way let it work as I need?

@toasted-nutbread
Copy link
Collaborator

The audio is appended at the end as part of anki-connect.

https://github.com/FooSoft/anki-connect/blob/9ba5c08c965885222613ebf45c0edf38ab50b3ac/plugin/__init__.py#L495-L499

What is the use case of putting the {audio} tag at a specific location? My understanding is that it's hidden anyways.

@FireKingY
Copy link
Author

FireKingY commented Apr 5, 2020

The audio is appended at the end as part of anki-connect.

https://github.com/FooSoft/anki-connect/blob/9ba5c08c965885222613ebf45c0edf38ab50b3ac/plugin/__init__.py#L495-L499

What is the use case of putting the {audio} tag at a specific location? My understanding is that it's hidden anyways.

Cloze deletion.
I want to fill "Question" filed like{{c1::車}}{{c2::[sound:車.mp3]}}, so that I can use {{cloze:Question}} at the front side of the card.
cloze-deletion

@toasted-nutbread
Copy link
Collaborator

I see. I'm working on some changes to how audio is injected into cards, so it might be able to be done as part of that. #427

@FireKingY
Copy link
Author

I see. I'm working on some changes to how audio is injected into cards, so it might be able to be done as part of that. #427

Thank you.

@toasted-nutbread
Copy link
Collaborator

toasted-nutbread commented Apr 24, 2020

Moved to #477 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants