From ff34febd6a954dfa78fbe5055ad0a4bf9bbfa964 Mon Sep 17 00:00:00 2001 From: Boris Verkhovskiy Date: Sat, 11 May 2024 18:15:49 -0600 Subject: [pug/*] remove headers --- pug.html.markdown | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) (limited to 'pug.html.markdown') diff --git a/pug.html.markdown b/pug.html.markdown index f39d5eb0..052c5dcc 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) -- cgit v1.2.3