svgembed
1.0.0
SVG Informador para https://github.com/marionebl/svg-term
npm install -g git+https://github.com/miraclx/svgembed
# alternatively, with yarn
yarn global add https://github.com/miraclx/svgembed.git<img> como en Github) stdin Dado que este script solo incorpora los archivos que le da junto con algunos parches SVG, el tamaño de archivos es incremental y puede ser realmente grande en algunos casos. Intente usar versiones livianas de fuentes que incrusta. O cree fuentes personalizadas con los glifos que necesita.
Dependiendo de su navegador y conexión a Internet, las fuentes pueden tardar un poco en cargarse.
$ svgembed --help
svgembed (c) 2020 Miraculous Owonubi <[email protected]>
------------------------------------------------------------
Usage: svgembed [options]
Options
-i, --input <VALUE> the input SVG file
-o, --output <VALUE> the output file name
-f, --font <VALUE> fontfile to be embedded (otf/ttf)
-t, --title [VALUE] set terminal window title (default: "Terminal")
-r, --right use right-sided window icons
-v, --hover dim window icons on hover
--overwrite overwrite existing output
--h, --help output usage information
svg-term --in media/demo --out demo.svg --window --term konsole --width 78
52.10 KiB501.62 KiB svgembed -i demo.svg -o final.svg -r -f nerd_fonts.ttf -t "svgembed is cool" --hover
501.62 KiB1007.0 KiB )"svgembed is cool"rightdim (vea el svg bruto para ver esto)1844.76 KiB-v, --hover 
font : <String>: la fuente se incrustará, si lo hay.title : <String>: El título de la ventana se utilizará, si corresponde.right : <Boolean>: si mover o no los iconos de la ventana al lado derecho.hover : <Boolean>: si se atenúa o no los iconos de la ventana en el flotador.file : <String>: representación de cadena del archivo SVG.config : <Entact>file : <String>: representación de cadena del archivo SVG.config : <Entact> Apache 2.0 © Miraculous Owonubi (@Miraclx) <[email protected]>