Zhongwen Block

approved

by Kodai Matsumoto

Code blocks with features for Chinese learners.

35 stars4,183 downloadsUpdated 9mo agoMIT
View on GitHub

Obsidian Zhongwen Block

README-ja

An Obsidian plugin which provides code blocks with features for Chinese learners

Each Chinese sentence in zh-cn code block will be annotated with corresponding pinyin as ruby.

Each Chinese sentence in zh-hk code block will be annotated with corresponding jyutping as ruby.

In order to help you remember the pronunciation, each pinyin/jyutping is displayed only while the Chinese sentence is hovered.

Screen recording

Editing view:

```zh-cn
他先去医院,再去学校。
```

彼女はまず病院に行って、次に学校に行きます。

Reading view:

(Default)

Reading view (default)

(On hover)

Reading view (on hover)

Settings

Language

Default: English

This plugin supports English and Japanese.

Always show pinyin

Default: false

When true, each pinyin will be displayed from the beginning.

Reading view (Always show)

Attribution

  • Zhongwen Block depends on pinyin-pro in order to convert Chinese into pinyin.
  • Zhongwen Block depends on to-jyutping in order to convert Chinese into jyutping.

FOSSA Status

Development

Install dependencies

$ bun i

Build

$ bun run build

Lint/format check

$ npm run check

Test

$ bun test

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.