|
|||||||
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Member
![]() Posts: 12
Karma: 10
Join Date: Oct 2011
Device: Kindle
|
ebook-convert exporting to markdown not respecting --keep-image-references
Hi everybody,
First of all, I want to say thank you for all your support in this forum. I noticed that when I use ebook-convert to export a recipe to txt it does not respect the --keep-image-references option. Instead of referencing an image using the original link a relative link in the form of "images/000002.png" is embedded. But even worse the folder images is not created anywhere. Do you have an explanation for this behavior? Is there a way to preserve the original link to an image? If not is there a way to "see" the referenced folder with the images? Best regards Andy |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 40,169
Karma: 18000000
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Conversion creates a single output file. So there is no place to put images when converting to txt. If you want to preserve images you need to convert to a format that has scope for them, such as txtz and use --keep-image-references
and --txt-output-formatting=markdown You can then unzip the txtz file. |
|
|
|
|
|
#3 |
|
Member
![]() Posts: 12
Karma: 10
Join Date: Oct 2011
Device: Kindle
|
Thanks, for the hint. Is there a possibility to preserve the original image reference (e.g. https://www.example.org/image.png) instead of using the downloaded png?
|
|
|
|
|
|
#4 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 40,169
Karma: 18000000
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No, there isnt.
|
|
|
|
|
|
#5 | |
|
the rook, bossing Never.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,019
Karma: 36004966
Join Date: Jun 2017
Location: Ireland
Device: Both Kinds: epub based makes and Kindle
|
Quote:
RTF is very portable and maintains most of the ebook info including images. |
|
|
|
|
![]() |
| Tags |
| ebook-convert, images, markdown |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ebook-convert with recipe not respecting chapter-mark option | aschiller | Conversion | 6 | 01-27-2021 11:30 AM |
| Is there a way to convert html and pdf to json or markdown with Calibre? | bounce | Conversion | 3 | 09-19-2020 02:43 AM |
| How to convert a txt(markdown format) to epub with pictures? | wby238 | Conversion | 7 | 04-30-2018 11:02 AM |
| Which ereader (or ebook store) is best for respecting reader privacy? | El Macho | Which one should I buy? | 9 | 06-13-2014 07:38 AM |
| Markdown: Direct image references? | Snorkledorf | Conversion | 4 | 07-11-2013 01:06 PM |