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

Create separate decks with furigana on the Front side? #2

Open
jamsinclair opened this issue Apr 5, 2020 · 2 comments
Open

Create separate decks with furigana on the Front side? #2

jamsinclair opened this issue Apr 5, 2020 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@jamsinclair
Copy link
Owner

Currently the Japanese cards only show the expression which may contain Kanji you do not know.

Rather than add JS/CSS to hide or show furigana I was contemplating generating separate decks with the furigana readings on the front side as well.

Any opinions are very welcome! 🙇

@jamsinclair jamsinclair added the help wanted Extra attention is needed label Apr 5, 2020
@gaul
Copy link
Contributor

gaul commented Apr 25, 2020

I am confused how to use the cards with Anki. When importing, I can assign fields 1 (kanji) to the front and 3 to the back (English). But how can I assign field 2 (kana) to the back? Ideally the card would start with the kanji, I could get a kana hint, and then see the English to check the answer.

If there were a deck with the combined kanji and furigana this would solve my problem but is there so other way to use Anki?

@jamsinclair
Copy link
Owner Author

@gaul From what I understand, you're wanting a "hint" option for kana? Anki has built in support for this, see the docs here: https://docs.ankiweb.net/#/templates/fields?id=hint-fields.

The card templates have a loose templating language and so you can reference more than one field on the "Front Template" and/or the "Back Template".

With this project you can achieve this effect by editing the "Front Template"
The following should work:

<div class="question expression">
  {{expression}}
</div>
<div class="reading">
  {{hint:reading}}
</div>

Resulting in:
hint

Would that help solve your problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants