octicons-html

1.0.1 • Public • Published

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, 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

Dependencies (4)

Dev Dependencies (26)

Package Sidebar

Install

npm i octicons-html

Weekly Downloads

37

Version

1.0.1

License

MIT

Unpacked Size

340 kB

Total Files

9

Last publish

Collaborators

  • nk-o