summaryrefslogtreecommitdiffhomepage
path: root/pug.html.markdown
diff options
context:
space:
mode:
authorMarcel Ribeiro Dantas <ribeirodantasdm@gmail.com>2022-06-27 00:28:16 +0200
committerGitHub <noreply@github.com>2022-06-27 00:28:16 +0200
commit5d133e847846b4c8d436f7a567674c2e1df35a13 (patch)
tree7ebc7704f02ceef195a8896a80a06ed81cc12585 /pug.html.markdown
parent27f7f03401ff747a61a912fdf73549b1788b13e1 (diff)
parent8f28c8021b8ce3cb791861ad19c41e12228d8bcd (diff)
Merge branch 'master' into patch-1
Diffstat (limited to 'pug.html.markdown')
-rw-r--r--pug.html.markdown10
1 files changed, 7 insertions, 3 deletions
diff --git a/pug.html.markdown b/pug.html.markdown
index 0187f1e0..1bc49f64 100644
--- a/pug.html.markdown
+++ b/pug.html.markdown
@@ -183,9 +183,9 @@ style
include styles/theme.css
//- ---MIXIN---
-mixin basic()
+mixin basic
div Hello
-+basic("Bob")
++basic
//- <div>Hello</div>
mixin comment(name, comment)
@@ -193,7 +193,11 @@ mixin comment(name, comment)
span.comment-name= name
div.comment-text= comment
+comment("Bob", "This is Awesome")
-//- <div>Hello</div>
+//-
+ <div>
+ <span class="comment-name">Bob</span>
+ <div class="comment-text">This is Awesome</div>
+ </div>
```