Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

xkcd: center the alt text block, keep its lines left-aligned

Abierto
#259 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
55/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python
Área
embedded-iot

Línea de trabajo

Start with the alt block in src/paperpi/plugins/xkcd_comic/layouts.py, which currently uses align "left" across the full width. Decide whether a narrower block with left and right padding is enough, or whether epdlib needs a "centered block, left-aligned lines" option (that would be in txoof/epdlib). Done when the default layout's alt text is centered as a block, left-aligned inside it, and the sample images in tests/images/ (9.7", 7.5", 5.65") are regenerated.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

area:plugins enhancement

Seen in the web interface demo (2026-10-10, virtual screen 1200x825).

Problem: in the default layout comic_title_alttext, the comic's alt text (its hover text) doesn't sit well under the comic: the text block uses the whole screen width with its lines aligned to the left, so it looks off-center.

Wanted: the alt text as a block centered under the comic, with its lines still left-aligned inside that block (like a centered paragraph).

Where: src/paperpi/plugins/xkcd_comic/layouts.py: the alt block uses align: "left" across the full width. This probably needs either a narrower centered block (for example padding left and right) or an epdlib option for "centered block, left-aligned lines" (then the work is partly in txoof/epdlib).

Done when: the default layout's alt text is centered as a block and left-aligned inside it, on the 9.7", 7.5" and 5.65" sample images (tests/images/), with the sample images made again.

Lenguaje dominante
Python
Estrellas
205
Forks
17
Merge medio
6 h 4 min
PR fusionados (30 d)
45

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de txoof/PaperPi

Todos los issues de txoof/PaperPi

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.