You are not logged in.
Marker is a markdown editor for GTK that many of us used for technical
documentation. Development has stalled, and two things show it:
- Its Flathub package still builds against gtksourceview-3
- It needs --share=network, because Mermaid and KaTeX are loaded from a CDN
That second one bothered me. A markdown editor should not need internet access
to render a diagram.
So I forked it. NeoMarker is the result, and I want to be upfront about what
changed and what did not.
What is different:
- gtksourceview-4, no obsolete dependencies
- Mermaid 12.2.0 bundled and configured exactly like GitHub. The previous
behaviour stretched every diagram to the pane width, which turned a 2500px
graph into a flat strip with 5px text. Diagrams now wrap their labels and keep
their proportions
- The same palette is applied to the preview and the PDF export, so what you
review is what the client receives
- Mermaid is highlighted inside the editor, not just in the preview. A .lang
spec covers directives, node shapes, edges and edge labels
- Markdown syntax theme with a colour per construct. No stock theme defines
markdown:header, markdown:code-span and friends, which is why Markdown
rendered black under every theme
- Formatting toolbar, labelled menu sections, view-mode selector
- Quick PDF (Ctrl+E), batch export, merged output, beamer slides
- The security fixes: shell injection removed from the export path, XSS
restricted in the preview
- No network permission. Mermaid, KaTeX and highlight.js ship with the app
What is not different: the markdown engine is still scidown, the layout is
still Marker's, and none of the upstream work was thrown away.
Install:
yay -S neomarker-bin # prebuilt
yay -S neomarker-git # from source
Or a self-contained AppImage from the release page, 98 MB with every library
bundled.
https://github.com/alfonsodg/NeoMarker
If you used Marker before and stopped because something broke, I would like to
know what it was. That is the list I am working through.
Offline
Maybe change your topic title to one that better describes your fork.
Mod note: Moving to Community Contributions.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline