snippets.nativescript.org: raw backticks in “Learn more”, plus no highlighting for native languages, and a truncated title
@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
- https://snippets.nativescript.org/onyx-tide-v9hx is highlighted as TypeScript (?), but the code is in Swift.
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
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de NativeScript/docs
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 68/100
NativeScript/docs#177 ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 38/100
NativeScript/docs#189 ·
-
Label: maxLinesOuverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 48/100
NativeScript/docs#182 ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 45/100
NativeScript/docs#178 · 1 commentaire ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 35/100
NativeScript/docs#159 ·
Toutes les issues de NativeScript/docs
Issues similaires
-
console: the calendar now line is placed in the browser's zone on a grid labeled in the hub'sOuverte
Difficulté 1/5 1-3 heures Accessibilité débutants 88/100
mattabate/life-distributable#231 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
sfbrigade/pocket-gardens#60 ·
Les mainteneurs répondent en général sous 5 jours
-
The print preview leaves writing space short by the margins of hidden headers, footers and solutionsOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
PreTeXtBook/pretext#3329 ·
Les mainteneurs répondent en général sous 1 jour
-
bug good first issue
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
devarshishimpi/codra#178 ·
Les mainteneurs répondent en général sous 1 jour