Skip to content

mangcut/docsify-pagination

 
 

Repository files navigation

docsify-m-pagination

Pagination for docsify which supports:

  • Multi-level sidebar items
  • router mode of 'history'

npm license PRs Welcome

How does it look like?

screenshot

Install

  1. insert script into document
<script src="//unpkg.com/docsify-m-pagination"></script>
  1. specify the label text (optional)
window.$docsify = {
  // ...
  pagination: {
    previousText: 'BÀI TRƯỚC',
    nextText: 'BÀI TIẾP',
  },
}

Options

pagination.previousText

  • Default: 'PREVIOUS'
  • Type: String
  • Description: The text of previous label.

pagination.nextText

  • Default: 'NEXT'
  • Type: String
  • Description: The text of next label.

Example

Related

License

MIT @ yelo mangcut

About

↔️ Pagination for docsify

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 61.4%
  • CSS 20.2%
  • HTML 18.4%