> Do you think it's plausible to just use string formatting or string 
> templating?

Hm while that would allow adding a bit of markup around the strings, you can't 
add any control structures.

With mako you can do much more, e.g. concatenate multiple authors into one line 
(as we do using join), display them each on it own line.

The use case I'm especially interested in: Pick just one songbook to be 
displayed. Using Mako I can just write Python code to only show the songbook we 
are actually using in the service.

I'm sure there are more valid use cases for this.
-- 
https://code.launchpad.net/~sam92/openlp/bug-1695620/+merge/363518
Your team OpenLP Core is subscribed to branch lp:openlp.

_______________________________________________
Mailing list: https://launchpad.net/~openlp-core
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openlp-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to