# Typora image to base64 Automatically convert images in the HTML output from Typora to base64. ## Support Sources - [x] Local image (absolute/relative path) - [x] Online image ## Supported Image Types - [x] JPEG - [x] PNG - [x] GIF - [x] BMP - [x] TIFF - [x] ICO - [x] WebP - [x] SVG ## Installation ### Install from crates.io ```bash cargo install typora-img-to-base64 ``` or ### Install from Source ```bash git clone https://github.com/hayd1n/typora-img-to-base64 cd typora-img-to-base64 cargo install --path . ``` ## Usage ```bash typora-img-to-base64 ``` ## Using in Typora Set the following custom command in Typora's export setting ``` typora-img-to-base64 "${currentPath}" "${outputPath}" ``` Screenshot 2024-10-16 at 2 56 30 AM