octicons-html
1.0.1 • Public • Published Octicons HTML
Octicons helper for HTML.
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, run npm update
Building
npm run build
to run build
Linting
npm run js-lint
to show eslint errors
npm run js-lint-fix
to automatically fix some of the eslint errors
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 1.0.1
48
Version History
Package Sidebar
Install
Weekly Downloads