This is a simple editor with preview and export functionality around the Pikchr language written in Rust.
The program has a split main screen with some basic functionality.
A main editor presented at the left side of the screen, with syntax highlighting and line numbers. As you type, the preview is updated in real-time.
A preview area on the right side of the screen where the rendered SVG is shown.
- New: Clear the editor to start a new diagram.
- Open: Open a
.pikchrfile from your computer. - Save: Save the current diagram as an
.svgfile.
You can choose between different editor themes.
Following libraries are used to enable the main functionalities.
iced is a cross-platform GUI library for Rust.
This is a simple wrapper around the official Pikchr library. Documented under https://docs.rs/pikchr/latest/pikchr/.