shotmd is a small and handy tool to screenshot and convert to base64 code in order to insert image to markdown.
- start it. (i recommend you to start it by win key and type "Shotmd"!
- press and drag to select the part you want, you can exit by right click at any time.
- after you release the mouse ,the image will be saved on your disk, and the base64 code will be on your clipboard
I am programming on wsl2 Archlinux, using clion and Qt.
- To build for linux: Install Qt by its online installer,and Clion will recognize it, which works for me, or you can try the linux in makefile.(the toolchain arg may be the problem)
- To build for MinGW: Install mingw related packages, which Archlinux works well. Install Qt on windows to get windeployqt.exe. run the mingw in makefile.
- To build for msvc: Install visual studio 2022.(which works for me,for now,and for this Project) run the msvc in makefile.(warning: due to the wsl2 env ,i need to copy files to win disks to build. Details in makefile)
or natively on windows with toolchain file:
cmake -S . -B build -G Ninja -DCMAKE_TOOLCHAIN_FILE=C:\Qt\6.9.0\msvc2022_64\lib\cmake\Qt6\qt.toolchain.cmake
cmake --build build --config Release
C:\Qt\6.9.0\msvc2022_64\bin\windeployqt.exe build\shotmd.exescoop install https://github.com/k88936/scoop-bucket/raw/refs/heads/master/bucket/shotmd.json