andrewrk / andrewrk/andrewkelley.me

Code in articles are hard to read

Abierto
#17 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
HTML
Estrellas
24
Forks
5
Merge medio
9 min
PR fusionados (30 d)
1

Descripción

Hi, I was reading [your article about unsafe zig vs unsafe rust](https://andrewkelley.me/post/unsafe-zig-safer-than-unsafe-rust.html) and I noticed I had trouble reading the code presented, see screen-snippet.
![afbeelding](https://github.com/andrewrk/andrewkelley.me/assets/60198834/722109c6-10e1-4194-9e3e-4f76d59d984a)
Note how curly braces and semi-colons are not always fully visible.

On my system (which falls back on the Monaco font), I temporarily fixed it with an edit in the css-styling by adding a `line-height: 1.5;` to the css-selector `code[class*="language-"], pre[class*="language-"]`.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.