Paste this command in a terminal to install the package
espanso install pinyin
A package that adds support for easily typing Pinyin Mandarin Romanization characters. Transcribing the tones involve adding diacritics above vowels. This is difficult with a conventional QWERTY keyboard, and so this espanso package adds easy mnemonic support to type tones.
The mnemonic is:
Type the vowel character
Type the "backslash"
Type the number of the tone you wish to add (e.g. 3)