docsify-glossary

docsify-glossary JS library on GitHub docsify-glossary JS library on npm Download docsify-glossary JS library

A simple glossary plugin for docsify

Version 0.0.1 License ISC
docsify-glossary has no homepage
docsify-glossary JS library on GitHub
docsify-glossary JS library on npm
Download docsify-glossary JS library

docsify-glossary

Simple Glossary for Docsify that replaces occurrences of the terms with links to the glossary.

Install

  1. Insert script into docsify document
<script src="//unpkg.com/docsify-glossary/dist/docsify-glossary.min.js"></script>
  1. Create a _glossary.md file in the root directory
  2. Populate the _glossary.md file with terms.

Usage

  • Terms must be predicated with ##### to get recognized by the glossary
  • Terms in the documentation must be surrounded by space to get replaced by the regular expression
  • Terms are replaced with links in the order that they appear in the glossary file.

Example

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