![]() |
#1 |
Zealot
![]() Posts: 100
Karma: 10
Join Date: Aug 2019
Device: none
|
[Conversion Output] Markdown Output
This plugin allows creating Markdown files with .md suffix.
The function is TXT Output plugin with txt_output_formatting=markdown. Keep_links=True, keep_image_references=True in default, but you can change them. Keep_color have been removed for it is a function in textile. Both cli and gui are included. Suggestions, bugs , feature requests can be post below. |
![]() |
![]() |
![]() |
#2 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Feb 2020
Device: Kobo Libra
|
I don't know how to install the plug in for deDRM. I go to the Prefences/Plug in window and then I stall. I have the plug in at Downloads (using Firefox) but I don't know the next step. Thanks
Arthur |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 243
Karma: 291844
Join Date: Oct 2019
Device: Kobo Nia
|
Arthur
The instructions on how to install are given at the site you got the deDRM software from. And are very clear and precise. No support is allowed on these forums for any DRM unlocking software. |
![]() |
![]() |
![]() |
#4 |
Zealot
![]() Posts: 100
Karma: 10
Join Date: Aug 2019
Device: none
|
Why are you asking in here. This question has nothing to do with my markdown plugin.
|
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jul 2022
Device: Kobo Aura One, Kindle Paperwhite 5
|
Thank you for the plugin, but I'm having an issue with images.
The only way I know how to extract images from an EPUB is to convert to HTMLZ, and unzip it, but the names of the image files do no correspond to the image references in the converted MD file. So the .md file might reference , but this actually corresponds to image 000022.png in the HTMLZ/images folder. Is there a different process I should be using to extract the images which will give me the correct file names to correlate with the MD output? |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,761
Karma: 103362673
Join Date: Apr 2011
Device: pb360
|
Quote:
|
|
![]() |
![]() |
![]() |
#7 | |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jul 2022
Device: Kobo Aura One, Kindle Paperwhite 5
|
Quote:
In the MD file, the images are of format images/000001.png, images/000002.jpg, etc. In the unzipped EPUB, the images are of the format media/file0.png, media/file1.png, etc, but even then 000001.png from the MD corresponded to file27.png of the EPUB, and 000002.jpg to file5.jpg, so it's not simply a matter of translating the filenames (like an off-by-one), they're all over the place. Also, the EPUB media is in a different order from the HTMLZ images, so now we have 3 formats with 3 completely different, non-deterministic orders. |
|
![]() |
![]() |
![]() |
#8 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,761
Karma: 103362673
Join Date: Apr 2011
Device: pb360
|
Quote:
|
|
![]() |
![]() |
![]() |
#9 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Sep 2022
Device: Kobo Touch, Like Book Mars, Android
|
Unusable on calibre 8.4.0
OS: Linux Mint 22.1 Xfce 64-bit
Error dialog containing this pops up, when try to convert any format to MD, thus unusable: calibre, version 8.4.0 ERROR: Unhandled exception: <b>AttributeError</b>:'PluginWidget' object has no attribute 'gridLayout' calibre 8.4 embedded-python: True Linux-6.11.0-25-generic-x86_64-with-glibc2.39 Linux ('64bit', 'ELF') ('Linux', '6.11.0-25-generic', '#25~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 15 17:20:50 UTC 2') Python 3.11.12 Interface language: None EXE path: /opt/calibre/bin/calibre Successfully initialized third party plugins: DeACSM (0, 0, 16) && Gather KFX-ZIP (from KFX Input) (2, 24, 0) && DeDRM (7, 2, 1) && Package KFX (from KFX Input) (2, 24, 0) && Action Chains (1, 20, 10) && Annotations (1, 17, 13) && Audit Log (1, 0, 19) && Author Book Count (2, 2, 3) && Author Book Count Hierarchy (1, 2, 5) && Auto Datestamp and View (0, 0, 9) && Backup Configuration Folder (1, 1, 2) && Barnes & Noble (1, 5, 7) && Calibre Power Search Plugin (2, 2, 0) && CalibreSpy (1, 0, 92) && Category Tags (0, 3, 2) && Check Books (0, 1, 8) && Clean Comments (0, 2, 1) && Clean Metadata (0, 0, 6) && Clipboard Search (1, 5, 1) && Comicvine (0, 14, 2) && Comments Cleaner (1, 15, 0) && Consolidate All Library Metadata (2, 0, 46) && Copy Cover To Device (2, 0, 4) && Count Pages (1, 13, 6) && Diaps Editing Toolbag (0, 5, 0) && Drop Search Results (1, 0, 14) && Editor Chains (1, 1, 9) && Embed Comic Metadata (1, 6, 6) && Entities Manager (1, 0, 19) && Epub Metaguider GUI (intellireading.com) (1, 0, 2) && Epub Metaguider output format (intellireading.com) (1, 0, 2) && Epub Metaguider post processor (intellireading.com) (1, 0, 2) && EpubCheck (0, 2, 5) && EpubMerge (3, 2, 0) && EpubSplit (3, 10, 0) && Extract ISBN (1, 6, 5) && Extract People Other Metadata (1, 0, 0) && FanFicFare (4, 45, 0) && Fantastic Fiction (1, 7, 2) && Favourites Menu (1, 3, 1) && Find Duplicates (1, 10, 9) && Generate Cover (2, 3, 5) && Goodreads (1, 8, 3) && Goodreads More Tags (1, 2, 1, 2) && Hardcover (0, 2, 2) && Import List (1, 9, 8) && Job Spy (1, 0, 239) && KFX metadata reader (from KFX Input) (2, 24, 0) && From KFX (2, 24, 0) && KFX Input (2, 24, 0) && Kindle Collections (1, 7, 29) && Kindle hi-res covers (0, 5, 1) && KindleUnpack - The Plugin (0, 83, 7) && Kobo Metadata (1, 11, 0) && Kobo Utilities (2, 23, 0) && LanguageTool (0, 1, 3) && Last Modified (0, 8, 5) && Library Codes - SRU (2, 0, 4) && Manage Series (1, 5, 2) && Markdown Output (1, 0, 3) && Media File Importer (1, 0, 27) && Modify ePub (1, 8, 6) && MultiColumnSearch (1, 0, 96) && OPML Importer (1, 0, 1) && Open With (1, 8, 4) && PDF Cover (0, 1, 0) && Quality Check (1, 14, 2) && Quick Preferences (1, 7, 1) && Reading List (1, 15, 4) && Recoll Full Text Search (1, 0, 1) && Reformat plugin (2, 4, 0) && Save Composite Custom Columns (1, 1, 1) && Scroll Book Details (1, 0, 2) && Search The Internet (1, 11, 3) && Similar Stories (1, 0, 58) && Standard Ebooks (1, 0, 0) && TextDiff (1, 2, 4) && User Category (1, 6, 1) && View Manager (1, 10, 3) && Walk Search History (1, 5, 4) && Wiki Reader (2, 2, 1) && Wikidata (2, 0, 0) && Wikidata gui (2, 0, 0) && ePub Extended Metadata {Writer} (0, 11, 4) && ePub Extended Metadata {Reader} (0, 11, 4) && ePub Extended Metadata (0, 11, 4) Traceback (most recent call last): File "calibre/gui2/convert/single.py", line 241, in setup_pipeline File "calibre_plugins.markdown_output.markdown_outp ut", line 88, in gui_configuration_widget return PluginWidget(parent, get_option_by_name, get_option_help, db, book_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ File "calibre_plugins.markdown_output.ui", line 32, in __init__ Widget.__init__(self, parent, option) File "calibre/gui2/convert/__init__.py", line 81, in __init__ File "calibre_plugins.markdown_output.ui", line 20, in setupUi delete(self.gridLayout,self.label_4) ^^^^^^^^^^^^^^^ AttributeError: 'PluginWidget' object has no attribute 'gridLayout' |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Conversion Output] KFX Output | jhowell | Plugins | 1648 | Yesterday 06:43 PM |
[Conversion Output] KePub Output Plugin | jgoguen | Plugins | 588 | 03-28-2025 02:26 PM |
[Conversion Output] Markdown Output. Test and seek for help. | The_book | Development | 10 | 04-18-2020 09:23 AM |
Adding TOC anchor links to Markdown/TXT output | maf_jclark | Conversion | 2 | 01-17-2014 10:20 PM |
Unexpected output from Markdown conversion to ePub | Agama | Conversion | 5 | 11-25-2012 08:58 AM |