https://bugs.kde.org/show_bug.cgi?id=386595

Friedrich W. H. Kossebau <kosse...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Product|kate                        |frameworks-ktexteditor
            Version|Git                         |unspecified
          Component|plugin-preview              |general

--- Comment #2 from Friedrich W. H. Kossebau <kosse...@kde.org> ---
The preview plugin itself relies on the mimetype info provided from the
ktexteditor API, it does not do any mimetype estimation itself.
So moving to ktexteditor.

Chance is though that detection of markdown files is tricky, as KDE code
usually relies on QMimeDatabase, which uses shared-mime-info as database for
detetion. And that one has only data about the file suffix, no magic bytes
logic (see
https://cgit.freedesktop.org/xdg/shared-mime-info/tree/freedesktop.org.xml.in#n5980
)


Please report the bug about Dolphin separately with Dolphin.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to