Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alyssabedard/hanzi2pinyin-notetype

Really basic Anki note type to see pronunciation (pinyin, zhuyin, etc...) above chinese characters (hanzi).
https://github.com/alyssabedard/hanzi2pinyin-notetype

anki bopomofo cantonese chinese flashcards jyutping language-learning mandarin pinyin xiaoerjing zhuyin

Last synced: 6 days ago
JSON representation

Really basic Anki note type to see pronunciation (pinyin, zhuyin, etc...) above chinese characters (hanzi).

Awesome Lists containing this project

README

        


Hanzi2Pinyin-notetype



Note type for Hanzi2Pinyin

Really basic [Anki](https://apps.ankiweb.net/) note type to see ruby characters (pinyin, zhuyin, etc...) above chinese characters (hanzi).


Demo of note type in dark mode

## Usage
🚧 Documentation for non-technical users coming soon, please also read [Hanzi2Pinyin](https://github.com/alyssabedard/Hanzi2Pinyin)

1. Download Note type or use the individual files:
- Anki Note type (.apkg) can be found [here](https://github.com/alyssabedard/Hanzi2Pinyin-notetype/releases) _(first zip file)_
- or under [Hanzi2Pinyin/note_type/](Hanzi2Pinyin/note_type)
- Individual files (html and css) under [Hanzi2Pinyin/individual_files/](Hanzi2Pinyin/individual_files)
2. Download the [Hanzi2Pinyin](https://ankiweb.net/shared/info/77106192) add-on to Anki

### Fonts
Make changes according to your preferences
```
/* Style for Chinese characters */
.hanzi-ruby {
/*font-family: "STFangsong"; */
font-family: "KaiTi", "楷体", /* Windows Chinese names */
"STKaiti", /* macOS */
"NSimSun", "新宋体", /* Windows */
"Noto Sans CJK SC", /* Linux/Android */
"WenQuanYi Zen Hei",
"DroidSansFallback",
"Microsoft YaHei", /* Windows fallback */
serif;
font-size: 46px;
}

```



Demo of note type in dark mode

## Features
- Target expression/word are automatically highlighted for easy recognition
- Toggle ruby text:
- View readings by hovering over specific characters or
- Toggle button to display/hide all readings at once

## Anki Note Type Fields
| Field Name | Usage |
|------------------|--------------------------------------------------------------------------------|
| Expression | Target word/expression (Anki Sort Field) |
| ExpressionPinyin | _Optional_ |
| ExpressionAudio | Word/Expression audio |
| Sentence | _Optional_ |
| SentencePinyin | Sentence with ruby text (pinyin, zhuyin...) |
| SentenceAudio | Sentence audio |
| Translation | Native Language or second language translation of the sentence |
| Definition | Meaning/definition of the expression/word |
| Screenshot | Screenshot/images |
| Source | Where the content is from (e.g., movie name, book title) |
| Notes | Additional context or grammar points |
| IsSentenceCard | Mark it with an "x" if this is a sentence-focused card else audio-focused card |

## Contributing & Support

| Type | Description |
|-----------------------------------------------------------------------------------|---------------------------------|
| [Issues & Requests](https://github.com/alyssabedard/Hanzi2Pinyin-notetype/issues) | Bug reports or feature requests |
| [Contributing](.github/CONTRIBUTING.md) | Fork the repo and submit a PR |
| [Discussions](https://github.com/alyssabedard/Hanzi2Pinyin-notetype/discussions) | Getting help and questions |
| [Support](.github/SUPPORT.md) | Support - Getting Started |