mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-04-26 15:13:56 +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
|
include styles/theme.css
|
||||||
|
|
||||||
//- ---MIXIN---
|
//- ---MIXIN---
|
||||||
mixin basic()
|
mixin basic
|
||||||
div Hello
|
div Hello
|
||||||
+basic("Bob")
|
+basic
|
||||||
//- <div>Hello</div>
|
//- <div>Hello</div>
|
||||||
|
|
||||||
mixin comment(name, comment)
|
mixin comment(name, comment)
|
||||||
@ -193,7 +193,11 @@ mixin comment(name, comment)
|
|||||||
span.comment-name= name
|
span.comment-name= name
|
||||||
div.comment-text= comment
|
div.comment-text= comment
|
||||||
+comment("Bob", "This is Awesome")
|
+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