From ff34febd6a954dfa78fbe5055ad0a4bf9bbfa964 Mon Sep 17 00:00:00 2001 From: Boris Verkhovskiy Date: Sat, 11 May 2024 18:15:49 -0600 Subject: [PATCH] [pug/*] remove headers --- de-de/pug-de.html.markdown | 6 +----- pt-br/pug-pt.html.markdown | 14 +++++--------- pug.html.markdown | 22 +++++++++------------- 3 files changed, 15 insertions(+), 27 deletions(-) diff --git a/de-de/pug-de.html.markdown b/de-de/pug-de.html.markdown index cff7066026..ebc3262269 100644 --- a/de-de/pug-de.html.markdown +++ b/de-de/pug-de.html.markdown @@ -8,15 +8,11 @@ translators: lang: de-de --- -## Erste Schritte mit Pug - Pug ist eine kleine Sprache, die zu HTML kompiliert. Sie hat eine saubere Syntax mit zusätzlichen Funktionen wie if Anweisungen und Schleifen. Sie kann auch als serverseitige Templatingsprache für Serversprachen wie NodeJS verwendet werden. -### Die Sprache - ```pug //- Einzeilenkommentar @@ -200,8 +196,8 @@ mixin comment(name, kommentar) //-
Hallo
``` - ### Zusätzliche Ressourcen + - [The Site](https://pugjs.org/) - [The Docs](https://pugjs.org/api/getting-started.html) - [GitHub Repo](https://github.com/pugjs/pug) diff --git a/pt-br/pug-pt.html.markdown b/pt-br/pug-pt.html.markdown index bbecfad1a4..67abc189ba 100644 --- a/pt-br/pug-pt.html.markdown +++ b/pt-br/pug-pt.html.markdown @@ -8,14 +8,10 @@ translators: lang: pt-br --- -## Começando com Pug - -Pug é uma pequena linguagem que compila para HTML. Possui uma sintaxe limpa -com algumas funcionalidades adicionais, como declarações if e loops. Também pode ser utilizada +Pug é uma pequena linguagem que compila para HTML. Possui uma sintaxe limpa +com algumas funcionalidades adicionais, como declarações if e loops. Também pode ser utilizada como uma linguagem de templates no lado do servidor para tecnologias como o Node.js. -### The Language - ```pug //- Comentário de uma linha @@ -128,7 +124,7 @@ each value, index in [1,2,3] each value in [] p=value -//- +//- each value in [] p=value @@ -196,15 +192,15 @@ mixin comment(nome, comentario) span.comment-name= nome div.comment-text= comentario +comment("Gil", "Tudo é divino, tudo é maravilhoso") -//- +//-
Gil
Tudo é divino, tudo é maravilhoso
``` - ### Saiba Mais + - [Site Oficial](https://pugjs.org/) - [Documentação](https://pugjs.org/api/getting-started.html) - [Repositório no GitHub](https://github.com/pugjs/pug) diff --git a/pug.html.markdown b/pug.html.markdown index f39d5eb0c0..052c5dcc27 100644 --- a/pug.html.markdown +++ b/pug.html.markdown @@ -5,13 +5,9 @@ contributors: filename: index.pug --- -## Getting Started with Pug - -Pug is a little language that compiles into the HTML. It has cleaner syntax -with additional features like if statements and loops. It can also be used -as a server side templating language for server languages like NodeJS. - -### The Language +Pug is a language that compiles to HTML. It has a cleaner syntax +with additional features like if statements and loops. It can also be used +as a server-side templating language for server languages like Node.js. ```pug //- Single Line Comment @@ -125,7 +121,7 @@ each value, index in [1,2,3] each value in [] p=value -//- +//- each value in [] p=value @@ -193,15 +189,15 @@ mixin comment(name, comment) span.comment-name= name div.comment-text= comment +comment("Bob", "This is Awesome") -//- +//-
Bob
This is Awesome
``` - ### Additional Resources -- [The Site](https://pugjs.org/) -- [The Docs](https://pugjs.org/api/getting-started.html) -- [GitHub Repo](https://github.com/pugjs/pug) + +- [The site](https://pugjs.org/) +- [The docs](https://pugjs.org/api/getting-started.html) +- [GitHub repo](https://github.com/pugjs/pug)