mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Niggles
This commit is contained in:
parent
5d656c2ec8
commit
ee4052cfdc
@ -70,7 +70,7 @@
|
||||
|
||||
<h2><a name='images'>Inline images</a></h2>
|
||||
<p>
|
||||
Here I demonstrate the use of inline images in the midst of text. Here is a small image <img src='small.jpg' /> embedded in a sentence. Now we have a slightly larger image that is automatically put in its own block <img style="text-align:center" src='medium.jpg' /> and finally we have a large image which wont fit on this page. Try changing sizes from S to M to L and see how the images behave. <img src='large.jpg' />
|
||||
Here I demonstrate the use of inline images in the midst of text. Here is a small image <img src='small.jpg' /> embedded in a sentence. Now we have a slightly larger image that is automatically put in its own block <img style="text-align:center" src='medium.jpg' /> and finally we have a large image which wont fit on this page. Try changing sizes from S to M to L and see how the images behave. <img align='center' src='large.jpg' />
|
||||
</p>
|
||||
<p class='toc'>
|
||||
<hr />
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 46 KiB |
@ -259,7 +259,7 @@ class LrsContainer(object):
|
||||
if child.has_text():
|
||||
return True
|
||||
for item in self.contents:
|
||||
if isinstance(item, Plot):
|
||||
if isinstance(item, (Plot, ImageBlock)):
|
||||
return True
|
||||
return False
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user