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

Ouverte
#204 0 commentaires 0 réactions 1 personne assignée Voir sur GitHub

@NathanWalker y travaille déjà.

Depuis le 10/10/2026.

Évaluation

Cette issue n'a pas encore été évaluée.

Description

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.

Langage dominant
JavaScript
Étoiles
17
Forks
30
Merge moyen
20 h 47 min
PR mergées (30 j)
2

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de NativeScript/docs

Toutes les issues de NativeScript/docs

Issues similaires

Plus d'issues JavaScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.