erickjx / docsify-footer-enh

Docsify Footer Enhacement Plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docsify-footer

Footer Enhancement plugin for Docsify, based on Docsify example.

Install

  1. Then insert script plugin into Docsify document (index.html)
<script src="//unpkg.com/docsify-footer-enh/dist/docsify-footer-enh.min.js"></script>
  1. Add configuration
<script>
  window.$docsify = {
    footer: {
      copy: '<span>Acme &copy; 2023</span>',
      auth: 'by Me',
      pre: '<hr/>',
      style: 'text-align: right;',
      class: 'className',
    },
  };
</script>
Config Option Description
copy Copyright text to display
auth Author text
style Footer CSS inline style
class Footer Classes to include
pre Html pre footer text

Example

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

License

Apache License

TODO

  • Waiting for recommendations.

About

Docsify Footer Enhacement Plugin

License:Apache License 2.0


Languages

Language:JavaScript 84.1%Language:HTML 15.9%