A simple Markdown editor written in Vala with GTK 4
See TODO.md for upcoming features.
This project requires
- Vala
- GTK 4
- libadwaita 1
- webkitgtk 6.0
- gtksourceview 5
The example scripts require:
- python3
- some pip packages (see
example_scripts/requirements.txt)markdown(for the md.py script)bbcode(for the bb.py script)
Compile it using meson :
$ meson setup bin
$ cd bin
$ meson compile
$ meson install
Then just run the binary in bin/src/.
To get the preview working, you should add or write scripts as explained below.
If you don't want to write a script yourself, you can try out the example scripts located in the example_script folder.
- The input text is passed via stdin
- The filename is passed in argv[1] (it usually isn't needed)
- The output HTML will be grabbed from stdout
When you finished your script
- Go in Preferences > HTML Generation Scripts
- Open "New Script"
- Fill everything out
- Click on the "Save" button
- You should see your script in the list below
- Then, close the Preferences Window
- Check that your script is selected in the little dropdown menu on the bottom of the screen
Then you're ready to write!


