<i>Italic</i> an so on. Another line of text, but a little longer and so on. Multiline gaps will be ignored. To create a newline, use the "<br>" tag. <br> <br> Line further down. <blockquote>Some text</blockquote> ''' chapter_2 = ('Formatting', text) book = Epub() book.isbn = '0743421922' book.primary_author = 'Banks, Iain M.' book.title = 'Look to windward' book.cover_art = 'test/cover.jpg' book.chapters = [ ('Prologue', 'Some content ...'), ('The Light of Ancient Mistakes', 'more content...\n<i>etc</i>'), ('Winter Storm', 'Lots of text\nAnother <b>line</b>...\nthird line\nfourth line') ] book.save() ##
text = '''<b>Bold</b> short blob of text. <i>Italic</i> an so on. Another line of text, but a little longer and so on. Multiline gaps will be ignored. To create a newline, use the "<br>" tag. <br> <br> Line further down. <blockquote>Some text</blockquote> ''' chapter_2 = ('Formatting', text) book = Epub() book.isbn = '0743421922' book.primary_author = 'Banks, Iain M.' book.title = 'Look to windward' book.cover_art = 'test/cover.jpg' book.chapters = [('Prologue', 'Some content ...'), ('The Light of Ancient Mistakes', 'more content...\n<i>etc</i>'), ('Winter Storm', 'Lots of text\nAnother <b>line</b>...\nthird line\nfourth line')] book.save() ##