Skip to content

longlongago2/docsify-pagination

This branch is 33 commits behind imyelo/docsify-pagination:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Apr 12, 2019
6349ae8 · Apr 12, 2019

History

49 Commits
Mar 29, 2018
Apr 12, 2019
Apr 12, 2019
Apr 11, 2018
Dec 11, 2017
Dec 11, 2017
Mar 29, 2018
Apr 12, 2019
Apr 12, 2019
Apr 11, 2018
Apr 12, 2019
Apr 10, 2018
Dec 11, 2017

Repository files navigation

docsify-pagination

Pagination for docsify

npm license PRs Welcome

How does it look like?

screenshot

Install

  1. insert script into document
<script src="//unpkg.com/docsify-pagination/dist/docsify-pagination.min.js"></script>
  1. specify the label text (optional)
window.$docsify = {
  // ...
  pagination: {
    previousText: '上一章节',
    nextText: '下一章节',
    crossChapter: true
  },
}

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.

pagination.crossChapter

  • Default: false
  • Type: Boolean
  • Description: Allow navigation to previous/next chapter.

Example

Related

License

MIT © yelo

About

↔️ Pagination for docsify

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 64.0%
  • CSS 18.3%
  • HTML 17.7%