diff options
author | Boris Verkhovskiy <boris.verk@gmail.com> | 2024-05-11 18:15:49 -0600 |
---|---|---|
committer | Boris Verkhovskiy <boris.verk@gmail.com> | 2024-05-11 18:15:49 -0600 |
commit | ff34febd6a954dfa78fbe5055ad0a4bf9bbfa964 (patch) | |
tree | af5b07a30980c0dbc2fc177f1ccf0387e380e445 /pug.html.markdown | |
parent | 733ae8fc3f6587aae8bb50ede96247d026805b74 (diff) |
[pug/*] remove headers
Diffstat (limited to 'pug.html.markdown')
-rw-r--r-- | pug.html.markdown | 22 |
1 files changed, 9 insertions, 13 deletions
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") -//- +//- <div> <span class="comment-name">Bob</span> <div class="comment-text">This is Awesome</div> </div> ``` - ### 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) |