Sfoglia il codice sorgente

showfigfonts: add page (#6217)

Axel Navarro 3 anni fa
parent
commit
d5f22be326

+ 6 - 5
pages.es/common/figlet.md

@@ -1,6 +1,7 @@
 # figlet
 
 > Genera encabezados usando caracteres ASCII desde la entrada del usuario.
+> See also `showfigfonts`.
 > Más información: <http://www.figlet.org/figlet-man.html>.
 
 - Genera el encabezado directamente introduciendo el texto:
@@ -9,12 +10,12 @@
 
 - Usa un archivo de fuente personalizada:
 
-`figlet {{texto_de_entrada}} -f {{ruta/al/archivo_de_fuente}}`
+`figlet {{texto_de_entrada}} -f {{ruta/al/archivo_de_fuente.flf}}`
 
-- Redirige la salida de un comando hacia figlet:
+- Use una fuente del directorio predeterminado (la extensión puede ser omitida):
 
-`{{comando}} | figlet`
+`figlet {{texto_de_entrada}} -f {{archivo_de_fuente}}`
 
-- Muestra las fuentes disponibles para figlet:
+- Redirige la salida de un comando hacia figlet:
 
-`showfigfonts {{texto_opcional_a_mostrar}}`
+`{{comando}} | figlet`

+ 13 - 0
pages.es/common/showfigfonts.md

@@ -0,0 +1,13 @@
+# showfigfonts
+
+> Muestra una lista de fuentes disponibles para figlet.
+> Véase también `figlet`.
+> Más información: <https://manned.org/showfigfonts>.
+
+- Muestra las fuentes disponibles:
+
+`showfigfonts`
+
+- Muestra las fuentes disponibles usando un texto específico:
+
+`showfigfonts {{texto_de_entrada}}`

+ 5 - 4
pages/common/figlet.md

@@ -1,6 +1,7 @@
 # figlet
 
 > Generate ASCII banners from user input.
+> Véase también `showfigfonts`.
 > More information: <http://www.figlet.org/figlet-man.html>.
 
 - Generate by directly inputting text:
@@ -9,12 +10,12 @@
 
 - Use a custom font file:
 
+`figlet {{input_text}} -f {{path/to/font_file.flf}}`
+
+- Use a font from the default font directory (the extention can be omitted):
+
 `figlet {{input_text}} -f {{font_filename}}`
 
 - Pipe command output through figlet:
 
 `{{command}} | figlet`
-
-- Show available figlet fonts:
-
-`showfigfonts {{optional_string_to_display}}`

+ 13 - 0
pages/common/showfigfonts.md

@@ -0,0 +1,13 @@
+# showfigfonts
+
+> Display available figlet fonts.
+> See also `figlet`.
+> More information: <https://manned.org/showfigfonts>.
+
+- Display available fonts:
+
+`showfigfonts`
+
+- Display available fonts using a specific text:
+
+`showfigfonts {{input_text}}`