mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
[pug/en] Fix typos in mixins (#4113)
This commit is contained in:
parent
ba6e865d5b
commit
2d55b77e60
@ -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>
|
||||
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user