Paste this command in a terminal to install the package
espanso install pinyin
Description
Source
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
Press
SHIFT
Type the "backslash"
\\
character
Type the number of the tone you wish to add (e.g. 3)