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

Aberta
#204 0 comentários 0 reações 1 responsável Ver no GitHub

@NathanWalker já está trabalhando nisso.

Desde 10/10/2026.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

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.

Linguagem predominante
JavaScript
Estrelas
17
Forks
30
Merge médio
20h 47min
PRs com merge (30d)
2

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de NativeScript/docs

Todas as issues de NativeScript/docs

Issues semelhantes

Mais issues de JavaScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.