Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hayd1n/typora-img-to-base64
Typora image to base64
https://github.com/hayd1n/typora-img-to-base64
Last synced: 1 day ago
JSON representation
Typora image to base64
- Host: GitHub
- URL: https://github.com/hayd1n/typora-img-to-base64
- Owner: hayd1n
- License: mit
- Created: 2024-10-15T18:54:05.000Z (24 days ago)
- Default Branch: master
- Last Pushed: 2024-11-03T11:32:36.000Z (5 days ago)
- Last Synced: 2024-11-03T11:35:27.954Z (5 days ago)
- Language: Rust
- Homepage: https://crates.io/crates/typora-img-to-base64
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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}"
```