github AndyHazz/bookends.koplugin v3.0.0
v3.0.0 — Conditional tokens, multi-line editor

latest releases: v5.22.0, v5.21.0, v5.20.0...
3 months ago

Conditional tokens

Show or hide content based on device state, reading progress, time, and more:

[if:wifi=on]📶[/if]
[if:batt<20]LOW %b[/if]
[if:charging=yes]⚡[/if] %b
[if:page=odd]%T[else]%C[/if]
[if:percent>90]Almost done![/if]
[if:time>22:00]Late night reading![/if]
[if:day=Sat]Weekend![else]%a[/if]
[if:speed>0]%r pg/hr[/if]
[if:format=PDF]%c / %t[/if]

14 condition variables: wifi, connected, batt, charging, percent, chapter, speed, session, pages, page (odd/even), light, format, time (HH:MM), day (Mon–Sun). Supports =, <, > operators with optional [else].

All conditions evaluate live — the charging icon appears the moment you plug in, wifi icon vanishes when you disconnect, etc.

Multi-line editor

The line editor now supports multi-line input, making it easier to compose longer format strings with conditionals.

Token picker

Dedicated "If/Else conditional tokens" submenu with syntax help, ready-to-use example snippets, and a complete condition reference.

Don't miss a new bookends.koplugin release

NewReleases is sending notifications on new releases.