summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMaxim Markin <68472891+stenus@users.noreply.github.com>2022-01-03 18:57:26 +0300
committerGitHub <noreply@github.com>2022-01-03 23:57:26 +0800
commit2d55b77e60bfb66fd9e0849fcea2a6624199869e (patch)
treee5ea48a0db2e36889f18bd236893e70a8fde3590
parentba6e865d5bf2243aa9865810bc60b11281b5a6b6 (diff)
[pug/en] Fix typos in mixins (#4113)
-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>
```