-
Some CSS framework named their classes like: `-large`, `-big`, `-disabled`,
And when I tried it, it compiled as a text instead of a class.
Tale-Jade:
```
img.-large.-circular
```
Compiled:
```
…
-
Tale-Jade
```
.a.b: .c.d
| Hello, world!
```
Compiles
```
c.d| Hello, world!
```
Maybe the dots made compiler escaped the classes?
I mean some thing like `p.` so we don't have to type `|`…
-
This used to work in 1.2:
```
li(class=true ? 'highlight' : '')
```
After version 1.3.1 it throws an error: Attributes in elements and mixins need a name.
-
tale-jade installed via composer today,
and here's the jade file
```
mixin item(link, icon, label)
a.item(href=$link)
span.icon(class=$icon)
$label
+item('photo', 'icon--picture…
-
Looks like one of the last commits broke something with hyperlinks. Link elements started to get their DOM parents’ classes. Some interface details like avatars (which are the links to the profile) st…
vnddr updated
8 years ago
-
Hablaré sobre una forma ágil de desarrollar páginas web estáticas usando Jade, sin gran esfuerzo, enfocándose en el contenido. Además, hacer notar que se puede usar NPM como Tasks runner.
``` yaml
na…
-
JSON based array of objects doesn't work. Placing each of the objects in quotation marks helps.. but doesn't help when it comes to iterating over the objects as well.
```
$arrayVar = [{'id':'1','catN…
-
tale-jade:
```
input.zoom.slider(type=range min=0.1 max=2 step=0.01)
```
rendered
```
-
# Error message
**Call to a member function append() on a non-object in vendor/talesoft/tale-jade/Parser.php on line 1025**
# Tale-Jade
I was trying to separate my jade templates as a header, cont…
-
With the renderer configured to handle duplicate mixin declarations:
```
$renderer = new Tale\Jade\Renderer([
'compiler_options' => [
'replace_mixins' => true
]
]);
```
This is fine:
```
mi…