Skip to content

Instantly share code, notes, and snippets.

@NSBum
Created April 20, 2022 11:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NSBum/f08ab56b945f1dee3ce713e80729cd4d to your computer and use it in GitHub Desktop.
Save NSBum/f08ab56b945f1dee3ce713e80729cd4d to your computer and use it in GitHub Desktop.
anki tts snippet
<!-- if there's no alternate pronunciation, play the TTS default -->
{{^alt_pronunciation_2}}
{{tts ru_RU voices=AwesomeTTS:sentence_ru_pf}}
{{/alt_pronunciation_2}}
<!-- if an alternate pronunciation is provided, then play it -->
{{#alt_pronunciation_2}}
{{alt_pronunciation_2}}
{{/alt_pronunciation_2}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment