Preview Markdown formatted files in Dolphin

How do i enable preview of markdown files in dolphin?

1 Like

settings > general > previews tab > enable text files

1 Like

So far, you can’t… Markdown is rendered as basic text in Dolphin previews.

There maybe a feature request for this, it was mentioned before in 2023:

1 Like

seems to me that rendering markdown is akin to expecting the preview function to evaluate cells in a spreadsheet.

if you need that kind or functionality then open the file up the proper application that can do that for you.

having a text preview of the markdown in a file manager is just so you can see what’s in the file without having to open it.

this is what is known as scope creep.

1 Like

This may be possible in the future with kiview:

@ben2talk, I have filed no formal request for this, at KDE BZ.


@skyfishgoo, it depends upon how the toolkit is designed. Even with the lack of desire to have KParts embeddable in QML, in the context of Qt, this is entirely possible, via multiple approaches, insofar as Calligra is utilised for tables, and Marknote for CommonMark:

It’s no different to the WHATWG HTML5 LS’s iFrame.

I don`t see a problem with that.

it’s called usability in my dictionary

People are getting their wires crossed here.

What you selected as your solution is akin to an ancient (was it Gnome2?) feature we had where pressing the spacebar would bring up an advanced file preview window…

What we now think of ‘preview in dolphin’ is more akin to the information panel.

There’s a fine line between ‘usability’ and ‘putting TOO much in, making it too complex and wieldy’.

1 Like

I can appreciate that to each their own and I didn’t intended to sound harsh. If I did, sorry.

What would be a better way is that Dolpin supports some sort of plugin system (akin Directory Opus) where users can decide what previews they want, or not. I can emphesize with someone who will never see the need of a markdown preview but for me more than 50% of the previewers (for refernce see below) has no use to me. Ofcourse I can switch them off but why are they included in the first place? Blender sounds like bloat to me.

most of those are likely there because someone asked, “how do i get previews of my Mobipocket Files” for instance.

1 Like

Ah well that’s not going to fly - Mobi files display the cover image as a preview :wink:

I have an ODS spreadsheet, and I get an excellent preview of that - except that it is actually a thumbnail and not a live preview, so whilst it gives a nice overview, you can’t use it to view the real current format or status.

RTF - rich text - sucks, so that’s just a plain text preview…

So the only real question here is if there’s a reason for MD files to be merely previewed as text and not rendered in basic Markdown (there might obviously be problems with different ‘flavours’, but shouldn’t be tough for basic).

No, don’t worry about that - it’s fairly normal for a fair bit of miscommunication, people not using their native language, and cultural differences… and then just mis-reading and jumping to the wrong conclusions…

So it was as much my fault for reading it wrong as it was for you not to understand what happened there.

1 Like

Doesn’t Dolphin already have this? Settings window, previews tab:

3 Likes

markdown is not a separate toggle, it’s included under the “text” catchall.

and it doesn’t render the markdown, it only shows the raw text in the preview pane.

what some seem to be suggesting is that markdown be it’s own item on the list and that the preview pane should render the markdown as tho it were a webpage.

i do not agree with that suggestion, but that seems to be what they are saying.

1 Like