text2svg

Crates.iotext2svg
lib.rstext2svg
version0.1.0
sourcesrc
created_at2023-09-02 20:41:06.401142
updated_at2023-09-02 20:41:06.401142
descriptionA command line tool help convert text to svg file
homepagehttps://github.com/tizee/text2svg
repositoryhttps://github.com/tizee/text2svg
max_upload_size
id961908
size80,737
Jeff Chiang (tizee)

documentation

README

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

Commit count: 12

cargo fmt