Is it possible to use it? For example here:
- var movieList = [{title: "Ocean's Eleven", rating: 9.2}, {title: "Pirates of the Caribbean", rating: 9.7}];
mixin movie-card(movie)
h2.movie-title= movie.title
div.rating
p= movie.rating
for movie in movieList
+movie-card(movie)
I don't want to use - at the start of each line. If it not possible maybe there is some way to import multiline JSON file?
Aucun commentaire:
Enregistrer un commentaire