octicons-html
v1.0.1
Published
Octicons helper for HTML
Downloads
134
Readme
Octicons HTML
Octicons helper for HTML.
Demo
Getting Started
<link type="text/css" rel="stylesheet" href="octicons-html/dist/octicons-html.css">
<script src="octicons-html/dist/octicons-html.min.js"></script>
CDN
Link directly from unpkg
<link type="text/css" rel="stylesheet" href="https://unpkg.com/octicons-html@1/dist/octicons-html.css">
<script src="https://unpkg.com/octicons-html@1/dist/octicons-html.min.js"></script>
Call the plugin
Icons will be automatically converted to SVG. Full list of available icons you can find here - https://octicons.github.com/
<span data-octicon="alert"></span>
For Developers
Installation
- Run
npm install
in the command line. Or if you need to update some dependencies, runnpm update
Building
npm run build
to run build
Linting
npm run js-lint
to show eslint errorsnpm run js-lint-fix
to automatically fix some of the eslint errors