Home

Awesome

docsify-material-icons

Material Icons plugin for Docsify.

Install

  1. Insert Material Icons CSS into docsify document (index.html)
<link href="https://fonts.googleapis.com/icon?family=Material+Icons|Material+Icons+Outlined|Material+Icons+Two+Tone|Material+Icons+Round|Material+Icons+Sharp" rel="stylesheet"/>
  1. Then insert script plugin into same document
<script src="//unpkg.com/docsify-material-icons/dist/docsify-material-icons.min.js"></script>

Usage

Any text inside of : character is processed as CSS style and converted to HTML code for Material Icons, example:

:mi-two-tone check_circle green:

This code is converted to :

<i class="material-icons-two-tone">check_circle</i>

Example

  1. Run npm run build
  2. Run npm run example
  3. Go to http://localhost:3000/

License

Apache License

TODO