1.0.1 • Published 2 years ago

docsify-plugin-x-blockquote v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

docsify-plugin-x-blockquote

Install

  1. Insert FontAwesome CSS into docsify document (index.html)
<link rel="stylesheet" href="https://unpkg.com/@fortawesome/fontawesome-free/css/fontawesome.css" />
<link rel="stylesheet" href="https://unpkg.com/@fortawesome/fontawesome-free/css/brands.css" />
<link rel="stylesheet" href="https://unpkg.com/@fortawesome/fontawesome-free/css/regular.css" />
<link rel="stylesheet" href="https://unpkg.com/@fortawesome/fontawesome-free/css/solid.css" />
  1. Then insert script plugin into same document
<script src="https://unpkg.com/docsify-plugin-x-blockquote/dist/index.min.js"></script>

Usage

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

:fas fa-home fa-fw:

This code is converted to :

<i class="fas fa-home fa-fw"></i>