this post was submitted on 11 Apr 2024
30 points (100.0% liked)
technology
23303 readers
17 users here now
On the road to fully automated luxury gay space communism.
Spreading Linux propaganda since 2020
- Ways to run Microsoft/Adobe and more on Linux
- The Ultimate FOSS Guide For Android
- Great libre software on Windows
- Hey you, the lib still using Chrome. Read this post!
Rules:
- 1. Obviously abide by the sitewide code of conduct. Bigotry will be met with an immediate ban
- 2. This community is about technology. Offtopic is permitted as long as it is kept in the comment sections
- 3. Although this is not /c/libre, FOSS related posting is tolerated, and even welcome in the case of effort posts
- 4. We believe technology should be liberating. As such, avoid promoting proprietary and/or bourgeois technology
- 5. Explanatory posts to correct the potential mistakes a comrade made in a post of their own are allowed, as long as they remain respectful
- 6. No crypto (Bitcoin, NFT, etc.) speculation, unless it is purely informative and not too cringe
- 7. Absolutely no tech bro shit. If you have a good opinion of Silicon Valley billionaires please manifest yourself so we can ban you.
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I would like an open-source WYSIWYG markdown editor that isn't based on electron, please
https://apps.kde.org/en-gb/ghostwriter/
Very cool, thx :)
You are welcome. Forgot to say, for proper WYSIWYG you have to click the HTML-Tag button in the lower right corner.
it isn't wysiwyg, it's live preview in a split window.
So... you see what you get?
No because you compose in one window and you see it in another. WYSIWYG means there is just one window and it correctly displays however the end result will be. Like using Word. It just isn't the same thing.
Split window + live preview is presumably much easier to program and requires less resources. It is perfectly serviceable in some situations. But for working with complicated documents: tables, images, nested lists, long URLs etc, a WYSIWYG editor is the best choice.
I'm not sure if it's impossible to create a proper WYSIWYG editor without electron or just nobody has bothered.
The only thing WYSIWYG means is "what you see is what you get". If you have a live preview you see what you get. *shrug*
Anyway, I'm pretty sure I have seen an editor that does it in a single pane, but couldn't recall the name of it right now for the life of me. Also not sure if it used Electron...
Yes, obviously. It's actually so simple that I once built this myself in a few hours, with a bit of Qt and a call to pandoc. You can skip building, saving, and updating an abstract syntax tree, as well as expanding the nodes the cursor is in to the markdown source, which is a whole lot of complexity.
Of course it's possible. But by now there are like hundreds of markdown editors around, so the problem will be finding the one that meets your specifications between the avalanche of those which don't.
https://en.wikipedia.org/wiki/WYSIWYG
It doesn't seem to exist. I think the best way would be to make a very robust syntax highlighting but you'd have to go beyond what they can already do for change in text size, hiding elements, adding links, etc.