1 unstable release
0.1.0 | Sep 2, 2023 |
---|
#31 in #convert-text
42KB
1K
SLoC
text2svg
A tool help to convert text to svg file with highlighting support.
Usage
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
How it works
WIP
Dependencies
~11–20MB
~300K SLoC