1.1.0 • Published 10 years ago

sg-example v1.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

sg-example

travis npm js-standard-style

A web component for displaying code examples in styleguides.

Maintained by Sigurd Fosseng.

Demo

Check it live.

Usage

<style>
    nav {
        border: 1px solid #ddd;
    }
    li {
        background-color: #fff;
        color: #f43;
    }
</style>
<sg-example>
    <nav>
        <ul>
            <li>example element 1</li>
            <li>example element 2</li>
        </ul>
    </nav>
</sg-example>

Gives this output:

example

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT © Sigurd Fosseng

1.1.0

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago