snippets.nativescript.org: raw backticks in “Learn more”, plus no highlighting for native languages, and a truncated title

Abierto
#204 0 comentarios 0 reacciones 1 asignado Ver en GitHub

@NathanWalker ya está trabajando en esto.

Desde el 10/10/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

Hi, and thank you for the work you put into NativeScript. The snippets site is a genuinely useful resource, and what you're building here matters. ❤️

I found a few rendering problems while using it. I couldn't find where the site's source is hosted (no link on the site, nothing in the NativeScript org or GitHub code search). Otherwise I'd have sent a PR. Please redirect me if there is a better place for this.

“Learn more” shows inline code as literal backticks

For example, https://snippets.nativescript.org/emerald-cascade-ecup and https://snippets.nativescript.org/rose-canvas-m4tp.
They are rendered as plain text (no <code> elements inside the “Learn more” block). Other markdown blocks might also be affected. I couldn't verify it since there were none in the section.

No highlighting for native languages
Possibly truncated title
  • https://snippets.nativescript.org/rose-canvas-m4tp has a title that ends mid-word: “…input-accessory coexiste”. It is exactly 80 characters, and it's the only title that long in the catalog (the next longest is 76), so it may be a hard 80-character cap rather than a typo. I couldn't verify this.

Thanks again for maintaining this.

Lenguaje dominante
JavaScript
Estrellas
17
Forks
30
Merge medio
20 h 47 min
PR fusionados (30 d)
2

Preparar el entorno

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 NativeScript/docs

Todos los issues de NativeScript/docs

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.