asciibox is an auxiliary tool intended to simplify ascii text manipulation, include svgbob and asciidoc, the current implementation of the following features:
- use mermaid syntax to generate svgbob, it will generate svgbob ascii text and output image(by svgbob)
- align and beautify asciidoc tables.
run sh build.sh
in project root dir
if you want to debug with cargo, the config.rs will be generated differently than the installation. so you link file with your build, which should be done with
build.sh
, if not, you should runln -s $PKGDATA_DIR/asciibox.gresource $PROJECTDIR/_build/data/asciibox.gresource
,PKGDATA_DIR
define inconfig.rs
,PROJECTDIR
is project folder locate
- flowchart(svgbob impl)
- zh-cn support
- basic arrow(left/down/up/right) support
- subgraph support
- multi arrow support
- preview
- table
- beautify table
- output table
- op table
- asciidoc
- beautify code
- transform from markdown
- preview
# for arch linux
paru -S asciibox
# for other linux
git clone --depth=1 https://github.com/nobodygx/asciibox
meson setup build
meson compile -C build
meson install -C build
# run asciibox to enjoy!!
# Install MSYS2
pacman -S mingw-w64-x86_64-gtk4 mingw-w64-x86_64-gettext mingw-w64-x86_64-libxml2 mingw-w64-x86_64-librsvg mingw-w64-x86_64-pkgconf mingw-w64-x86_64-gcc mingw-w64-x86_64-libadwaita
# add into paths
C:\msys64\mingw64\include
C:\msys64\mingw64\bin
C:\msys64\mingw64\lib
# install rust
rustup toolchain install stable-gnu
rustup default stable-gnu
# before cargo run
# sh build.sh # --> to build asciibox, but without install
# cp _build/data/asciibox.gresource /mingw/share/asciibox/
# cargo run to enjoy