snippets.nativescript.org: raw backticks in “Learn more”, plus no highlighting for native languages, and a truncated title
@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
- 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.
- Linguagem predominante
- JavaScript
- Estrelas
- 17
- Forks
- 30
- Merge médio
- 20h 47min
- PRs com merge (30d)
- 2
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de NativeScript/docs
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 68/100
NativeScript/docs#177 ·
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 38/100
NativeScript/docs#189 ·
-
Label: maxLinesAberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 48/100
NativeScript/docs#182 ·
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 45/100
NativeScript/docs#178 · 1 comentário ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 35/100
NativeScript/docs#159 ·
Todas as issues de NativeScript/docs
Issues semelhantes
-
console: the calendar now line is placed in the browser's zone on a grid labeled in the hub'sAberta
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 88/100
mattabate/life-distributable#231 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
sfbrigade/pocket-gardens#60 ·
Mantenedores costumam responder em até 5 dias
-
The print preview leaves writing space short by the margins of hidden headers, footers and solutionsAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
PreTeXtBook/pretext#3329 ·
Mantenedores costumam responder em até 1 dia
-
bug good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
devarshishimpi/codra#178 ·
Mantenedores costumam responder em até 1 dia