An open API service indexing awesome lists of open source software.

https://github.com/vitalk/classy-style-guide

Base Styleguide layout
https://github.com/vitalk/classy-style-guide

Last synced: over 1 year ago
JSON representation

Base Styleguide layout

Awesome Lists containing this project

README

          

# Classy Styleguide

Base Styleguide layout inspired by the [GitHub Styleguide](https://github.com/styleguide).

## Installation

The recommended installation method is a [bower](http://bower.io).

```shell
bower install --save classy-style-guide
```

## Usage

```jinja

{{ section.section }}


{{ section.description|safe }}


{% if section.modifiers %}

    {% for m in section.modifiers %}

  • {{ m.name }} - {{ m.description }}

  • {% endfor %}

{% endif %}


{{ section.example|safe }}

{% for m in section.modifiers %}


{{ m.name }}
{{ m.example|safe }}

{% endfor %}


{{ section.example|forceescape }}

```

Variable | Description
---|---
`@classy-style-guide-namespace` | The namespace uses for classy style guide class names (`style-guide` by default).
`#classy-style-guide-vars` | The custom namespace for related variables.

## License

Licensed under the [MIT license](http://mit-license.org/vitalk).