Skip to content

Commit

Permalink
Update STYLEGUIDE.md
Browse files Browse the repository at this point in the history
  • Loading branch information
BigFunger committed Aug 31, 2015
1 parent f552581 commit 42bf6da
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions STYLEGUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ This is a collection of style guides for Kibana projects. The include guides for

- [JavaScript](#javascript-style-guide)
- [Kibana Project](#kibana-style-guide)
- [Html](#html-style-guide)

# JavaScript Style Guide

Expand Down Expand Up @@ -855,6 +856,24 @@ require('ui/routes')
});
```

# Html Style Guide

### Multiple attribute values

When a node has multiple attributes that would cause it to exceed the line character limit, each attribute including the first should be on its own line with a single indent. Also, when a node that is styled in this way has child nodes, there should be a blank line between the openening parent tag and the first child tag.

```
<ul
attribute1="value1"
attribute2="value2"
attribute3="value3">
<li></li>
<li></li>
...
</ul>
```

# Attribution

This JavaScript guide forked from the [node style guide](https://github.com/felixge/node-style-guide) created by [Felix Geisendörfer](http://felixge.de/) and is
Expand Down

0 comments on commit 42bf6da

Please sign in to comment.