Crates.io | text2svg |
lib.rs | text2svg |
version | 0.1.0 |
source | src |
created_at | 2023-09-02 20:41:06.401142 |
updated_at | 2023-09-02 20:41:06.401142 |
description | A command line tool help convert text to svg file |
homepage | https://github.com/tizee/text2svg |
repository | https://github.com/tizee/text2svg |
max_upload_size | |
id | 961908 |
size | 80,737 |
A tool help to convert text to svg file with highlighting support.
Usage: text2svg [OPTIONS] [TEXT]
Arguments:
[TEXT] input text string
Options:
-f, --file <FILE> input file
-o, --output <OUTPUT> output svg file path [default: output.svg]
--font <FONT> font
--size <SIZE> font size [default: 64]
--fill <FILL> svg fill mode or fill color [default: none]
--color <COLOR> font color [default: #000]
--space <SPACE> letter space (em) [default: 0.1]
--highlight highlight mode
--theme <THEME> highlight theme or path to theme [default: base16-ocean.dark]
--list-syntax list supported file types/syntax
--list-theme list supported theme
-d, --debug debug mode
--list-fonts list installed fonts
-h, --help Print help
-V, --version Print version
WIP