Block comments in Pug (Jade)?

//- Just indent the comment like normal elements Just indent your comment like you do other elements. Just be careful that you have your indention correct or you may comment out more than you intended.

Do I have to use   for space in Jade?

Of course, when you have two of the same tags after each other, you can simply merge them: b Hello World But, if you would have two different sibling tags and would want a space between them, you could use piping to output a space between them. For example: b Hello | <– 2 spaces … Read more

Multiple Lines for Long Attribute Value in Jade / Pug

I have this same problem but in a knockoutjs context. I used the backslash like so. Previously: div(data-bind=”template: {name: ‘ingredient-template’, data: $data}”) Now: div(data-bind=”template: {\ name: ‘ingredient-template’,\ data: $data}”) Note: The backslash must be followed immediately by a newline. I’m not sure if this is the ‘official’ way, I just did it and it seems … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)