Skip to content

Simple plugin to use the pinyin tones in obsidian without having to install extra keyboard layouts.

License

Notifications You must be signed in to change notification settings

LarrySAL/pinyin-replacer

Repository files navigation

Pinyin Replacer Plugin

Allows you to take pinyin notes without having to install another keyboard layout.

Adds 4 commands which will replace the vowel behind your cursor into it's "toned" version.

How to Install

From within Obsidian

From Obsidian v0.9.8+, you can activate this plugin within Obsidian by doing the following:

  • Open Settings > Community plugin
  • Make sure Safe mode is off
  • Click Browse community plugins
  • Search for "pinyin replacer"
  • Click Install
  • Once installed, close the community plugins window and activate the newly installed plugin

Demo

How to use

To replace the vowel with its "toned" version, 4 commands/hotkeys have been added.

Command Name Shortcut
Replace first tone "ALT" + "1"
Replace second tone "ALT" + "2"
Replace third tone "ALT" + "3"
Replace fourth tone "ALT" + "4"

The letter "v" can be used to produce the "ǖ", "ǘ", "ǚ", "ǜ" tones the same way as it works with the vowels. (credit: VishalJagan)

Additional features

Adds a status bar item to the status bar to remind you the order of the tones.

Funding

If you wish, you can pay me a coffee by donating to my paypal!

Paypal

About

Simple plugin to use the pinyin tones in obsidian without having to install extra keyboard layouts.

Resources

License

Stars

Watchers

Forks

Packages

No packages published