gyim / breviar-ios

Liturgy of the Hours for iOS
5 stars 1 forks source link

Support pauses in TTS #72

Open gyim opened 2 years ago

gyim commented 2 years ago

This is a continuation of #55:

Spans indicating small pauses for breathing used in psalmody at the end of lines – long [1-2 seconds] pause on asterisks (*) and short [approx. 1 second] pause on crosses (†).

I was not able to us divs because they would destroy formatting so I have decided to use spans. These spans are embracing specified symbol (which itself is displayed) as follows:

<span class="tts_pause">*</span> or <span class="tts_pause_short">†</span>

Android version has implemented switch for the 2nd point (thus, these pauses are optional and can be switched off).