KDE will soon get a light-weight WYSIWIG markdown viewer
KDE's Google Summer of Code student Geon Son is working on a lightweight markdown WYSIWIG kpart built using pure C++, Boost and Qt. There's existing solutions based on webview but these have poor support for printing and other use-cases that go beyond simple web display.
This new kpart module will be usable by KDE software like the document viewer Okular. Son Geon's reason for taking on this project as part of his GSOC internship is the lack of printing options in existing markdown renderers. In his GSOC project annoucement he explains that:
"For example, document elements are printed across multiple pages and the document’s paragraphs, word spacing, and line spacing are slightly different compared to the screen. If the markdown editor support the preview of the paging, better text rendering with the layout of printing, It will be more powerfull like word processors."
Writing a new renderer from scratch is far from trivial, it is a huge undertaking. We reached out to Geon Son and asked him about the challenges involved.
"I think writing the whole thing will be the biggest challenge.
Like I wrote in my article I'm trying to make markdown view with minimizing the external dependencies.
So I started from writing markdown parser. It's exciting but a little bit worried about writing from scratch.
The second challenge is the printing preview.
It needs to calculate whole elements size in the markdown document.
That will be hard but after that work, we can adjust elements for the good looking and can give the same experience in different devices like MS Word. For example, we can add the word break functions like CSS. Paragraph or line spacing for good looking."
He is confident that he will be able to get it done in time
"Sure! If I sleep less."
We wish him the best of luck in this huge undertaking.
You can read Son Geon's KDE GSOC announcement at jen6.github.io/2019/05/hi-kde-hi-gsoc2019.html and check out his new blog at jen6.github.io. He also had an old blog at jen6.tistory.com which is still available but no longer updated.
published 2019-06-06 - last edited 2019-06-19
Latest KDE news
- KDE Is Now Offering A Qt 5.15 LTS Branch Patch-set For The Free Software Community
- KDE Plasma 5.21.3 Is Released
- Kdenlive 20.08.2 Is Released With 17 Bug-Fixes And GPU Accelerated Video Rendering
- KDE Launches MyKDE Identity Service
- Linux Desktop Users Who Use Qt or KDE Software May Want To Hard-Code QT AUTO SCREEN SCALE FACTOR and XCURSOR SIZE
- KDE Launches Plasma Widget Tutorial Website
Latest News Headlines
- 3YE's (써드아이) Lastest Digital Single "Stalker" Has Reached 500k+ Views On YouTube
- G'MIC 2.9.7 Is Released
- Lagrange v1.3.2 Is Released
- The Mesa RADV Vulkan Driver Will Soon Have An Option That Boosts Performance 30%+ On RDNA2 GPUs By Rendering Less
- GnuPG 2.3.0 Is Released With New Default Public Key Algorithms, A New Key Daemon And More