Quote:
Originally Posted by JimmXinu
The easiest way to add newlines to custom output is to make it multi-line in INI:
Code:
titlepage_entry:
<b>${label}:</b> ${value}<br />
I don't know an easy way to get multiple empty newlines off hand.
Look at the newlines in txt for multiple empty newlines. Works the same in HTML.
Code:
# make sure to keep a single space on the line after this--it's
# one, empty newline for inclusion below. Define in same section as entry.
newline:
# You can't see it, but there's a space on the line above.
titlepage_entry:
<b>${label}:</b> ${value}<br />
%(newline)s
|
I am unable to use %(newline)s. It says:
Code:
InterpolationMissingOptionError: Bad value substitution: option 'titlepage_entry' in section 'epub' contains an interpolation key 'newline' which is not a valid option name. Raw value: '<b>${label}:</b> ${value}<br />\n%(newline)s'