How can I edit .md (Markdown) files as text in nextcloud? (Ideally with a preview)

I don’t like the default markdown editor, and I like to edit Markdown in their raw format.

This App: Markdown Editor - Apps - App Store - Nextcloud seems like it would solve all my problems, but it’s only available for nextcloud 27 and older.

Are there solutions for people on newer versions of Nextcloud?
Even just setting .md files to open as raw text would be better than the Editor for me.

I am not sure if Collectives app could be an answer for you.
I use Nextcloud v30.0.9 + Collectives app for my tutorials and notes.
Check the screenshot whether it is suitable for you.

The default editor (Text) supports both markdown and plain text mode.

You should be able to override the mime type using Nextcloud’s existing support for doing so as described in the Admin Manual here.

You can see the the mime types that the Text app treats as markdown (WYSIWIG mode) versus plain text here.

A text mode in Nextcloud Text would be nice but does not exists. But maybe you can rename .md to .txt .

Ideally with a preview

Unfortunately that’s not possible.

That’s possible. You can disable rich text editing globally: Text app — Nextcloud latest Administration Manual latest documentation

1 Like