You are not logged in.
I need to write some documentation and would prefer to do that in markdown.
Markdown editors I tried either show text in one panel and preview next to it, or immediately convert the typed text into 'live preview'.
Both gitlab & github offer a simple markdown editor where you can switch between edit & preview mode.
I very much prefer that workflow, but can't find a standalone editor that works that way.
Do you know one ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Retext has both "Preview" and "Live preview" modes.
Offline
I should have phrased that clearer :
in edit mode i want to see only the raw text, in preview the markdown effect .
ReText does show the raw text but also seems to immediately apply (some) markdown effects.
try putting piet and ***piet*** in it and notice the 2nd piet looks much different then the first.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Didn't Libreoffice get markdown support recently?
Offline
It's not mentioned in the release notes for 25.8, seems to be only in git for now.
Did some more searching and it seems every markdown editor has a live preview mode (that can't be disabled)
I may have to settle for a program that can show markdown like okular.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Are you aware of https://flathub.org/en/apps/org.gnome.g … Apostrophe ? You can switch between preview, text or both. It does apply some styling, but it never hides the actual characters afair.
You could also just have a text editor (with markdown LSP support?) and run pandoc?
Offline
It's also in repos (and brings in a lot of haskell deps) and does seem to do the job.
Will have to test it.
pandoc converts one format to another ? That would add an extra step.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
ReText does show the raw text but also seems to immediately apply (some) markdown effects.
Indeed. It doesn't seem like markdown but rather syntax highlight for markdown. Ugh.
I may have to settle for a program that can show markdown like okular.
You can convert markdown into temporary html with md2html and render it in a browser. Inconvenient additional steps, however.
Offline
pandoc converts one format to another ? That would add an extra step.
I'm surprised you don't know pandoc. It's a swiss army of text formats. For your use case,
pandoc file.md -o file.pdf # or any other extension that makes senseProbably a good idea to mix that with inotifywait and you get auto updated PDF every time you save the MD file.
Offline
There's also https://archlinux.org/packages/extra/x86_64/md4c/
nb. that github, gitlab, marked etc. implement (disjunct, I think) supersets of basic markdown
inotify will require you to write every change.
sqriptor currently has some questionable syntax highlighting for markdown (better than what qtscite does)
If https://doc.qt.io/qt-6/richtext-html-subset.html is sufficient and you don't find anything else I could add a QTextView and then pass the document through an external process like md2html or pandoc (configurable) when you switch the view (this won't create much overhead/dependencies but I won't link QWebView or any specific md interpreter) - you'd get a button in the menubar (and a shortcut) to toggle between edit and preview mode.
Offline
The doc files I need to write will be used in a few mods for oolite which is played on MacOS, linux and windows . They'll be published in git repos on sourcehut or codeberg (most likely sourcehut) so supporting only basic markdown is a big plus.
Seth, I will test apostrophe and if that doesn't work well your custom solution sounds like a very good alternative .
Sidenote
I'm surprised you don't know pandoc. It's a swiss army of text formats. For your use case,
A big part of my IT career took place in manufacturing environments where highly specialised hardware and software is used.
Around 2009 I had to figure out how to apply a small change in default settings for custom software running on ibm os/2 system from 1992 .
Communication with the device was over a RS 422 cable.
Even an ecomstation system wasn't able to establish communication, fortunately the software company was willing to sell us one of their spare 1992 development systems.
Converting the settings using later versions of the software failed, so I had to learn how to use the tools used to create the software in 92 to apply the changes.
Such experiences have made me very wary of using conversion tools.
P.S.
Recently I was contacted by that software company for details on the setup I created then. It seems that the hard/software will be replaced by state-of-the-art devices in 2030 .
The new software will include a few expert systems, but any other use of AI is forbidden.
Last edited by Lone_Wolf (2025-11-07 11:04:01)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
https://archlinux.org/packages/extra/any/apostrophe/ is in the repos btw.
Offline
if you install neovim and the plugin knap with zathura it can do what you want
neovim and the plugin for “auto-refreshing” or “self-updating” preview of the results of the file being edited
and zathura for showing the markdown
Offline
auto-preview is almost the opposite of what i want.
Also seeing 3 companies that focus on AI listed as sponsors make me want to stay away from neovim as far as possible.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Fwwi, I implemented a basic PoC - don't hesitate to call if you're unhappy w/ apostrophe
Offline
Is now in the main branch, defaults to the Qt built-in markdown processor but I found it to have issues w/ at lease embedded html.
The external processor can be any command that reads markdown on stdin and writes html to stdout.
Offline
I'm a huge fan of Ghostwriter. Live preview can be toggled off. As a writer my favorite feature is Hemingway mode which disables the backspace button to prevent you from excessive self-editing which has significantly helped my ability to actually finish a project I start.
Offline
Ghostwriter live preview can indeed be toggled off, but the only way to preview it seems to be to toggle it again.
I very much prefer NOT seeing normal text and markdown side by side.
I've tested apostrophe and it's preview pane is rather slow, but its main disadvantage is markdown syntax highlighting that can't be disabled (afaict) .
@Seth :
It looks like your code is the only option left besides using a non-markdown text editor + a viewer.
Where can I find it ?
Last edited by Lone_Wolf (2025-11-10 13:55:55)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
https://aur.archlinux.org/packages/sqriptor-git
its main disadvantage is markdown syntax highlighting that can't be disabled
We'll probably have to work on that (preview is only available for md and html and you'll get unconditional syntax highlighting from that)
Feel free to open an issue on the github and comment on the status quo so we can wiggle that into place.
Offline
It turns out the MD syntax HL is not what bothers me, but how it's presented.
The method used in sqriptor required an adjustment, but now works very well for me.
I need to write more markdown before declaring this solved but sqriptor is definitely the top contender.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
As you'd expect from the greatest and best texteditor in the world (tribute!) ![]()
I just added support for custom css for the preview and fine-tuned the handling of bold and italic text a bit.
Offline
retext has Preview and Live Preview. The former is what I think you are look'n for.
In their October blog entry, Libreoffice mentioned supporting markdown::
Markdown support is coming to LibreOffice! This is just one of the projects from the Google Summer of Code 2025, and should be included in our next major release, LibreOffice 26.2, due in February next year.
It's Foss magazine reviews some markdown editors.
I usually start with what is in the supported repositories, double check what language they are written in, and when was the last update.
pacman -Ss markdown|grep -B1 -i editOffline
GitHub flavored Markdown: YesI view that as a downside and also dislike split views for preview (both normal and preview display should have their own pane) , so that disqualifies a lot of the available choices.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
nb. that the Qt-internal markdown parser defaults to the github flavor (and there's no config for that in sqriptor) so you (currently) want to use an external processor.
Not sure how big the differences are, though.
Offline