Detalhes do pacote

docsify-tabs

jhildenbiddle1.7kMIT1.6.3

A docsify.js plugin for rendering tabbed content from markdown

docs, docsify, docsify.js, documentation

readme (leia-me)

docsify-tabs

NPM GitHub Workflow Status (master) Codacy grade License: MIT jsDelivr Sponsor this project

A docsify.js plugin for rendering tabbed content from markdown.

Screenshot

💡 Like this plugin? Check out docsify-themeable for your site theme, docsify-plugin-ethicalads for EthicalAds integration, and docsify-plugin-runkit for live JavaScript REPLs!

Features

  • Generate tabbed content using unobtrusive markup
  • Persist tab selections on refresh/revisit
  • Sync tab selection for tabs with matching labels
  • Nest tab sets within tab sets
  • Style tabs using "classic" or "material" tab theme
  • Customize styles without complex CSS using CSS custom properties
  • Compatible with docsify-themeable themes

Limitations

  • Tabs wraps when their combined width exceeds the content area width

Installation & Options

See the documentation site for details.

Sponsorship

A sponsorship is more than just a way to show appreciation for the open-source authors and projects we rely on; it can be the spark that ignites the next big idea, the inspiration to create something new, and the motivation to share so that others may benefit.

If you benefit from this project, please consider lending your support and encouraging future efforts by becoming a sponsor.

Thank you! 🙏🏻

Contact & Support

  • Follow 👨🏻‍💻 @jhildenbiddle on Twitter and GitHub for announcements
  • Create a 💬 GitHub issue for bug reports, feature requests, or questions
  • Add a ⭐️ star on GitHub and 🐦 tweet to promote the project
  • Become a 💖 sponsor to support the project and future efforts

License

This project is licensed under the MIT License. See the LICENSE for details.

Copyright (c) John Hildenbiddle (@jhildenbiddle)

changelog (log de mudanças)

Change Log

1.6.3

2024-04-24

  • Fix tab heading anchors when using history routerMode (#55)

1.6.2

2024-02-29

  • Fix tab selection on reload (#51)

1.6.1

2024-02-06

  • Fix GitHub workflow badge

1.6.0

2022-09-11

  • Add support for nested tabs (#5)
  • Fix tab content margin of first & last element
  • Update sessionStorage keys to include namespace

1.5.4

2022-09-10

  • Fix inactive tab content flicker on tab change (#27)
  • Fix tab parsing with compressed HTML (#45)

1.5.3

2022-07-29

  • Fix plugin insertion point (fix for docsify-mustache) (#44)
  • Update dependencies

1.5.2

2021-09-02

  • Fix code quality badges
  • Add GitHub CI

1.5.1

2021-09-02

  • Fix setting active tab from anchor with unicode (#41)

1.5.0

2021-04-27

  • Add support for markdown and HTML in tab labels (#38)
  • Update custom style examples in documentation

1.4.4

2020-11-05

  • Fix tab comments with code block rendering (#29)

1.4.3

2020-06-25

  • Fix handling of regex replacement patterns in markdown (#26)

1.4.2

2020-05-11

  • Fix error when no active tab set in URL (#23)

1.4.1

2020-05-09

  • Fix handling of URL encoded anchor IDs (#22)

1.4.0

2020-04-12

  • Add tab selection on hash change
  • Fix tab selection based on anchor ID in IE

1.3.0

2020-04-11

  • Add tab selection based on anchor ID in URL (#20)
  • Fix tab content container padding and first/last child margins

1.2.0

2020-02-11

  • Update sync behavior to allow synced tab selections across pages (#17)
  • Fix rendering of tabset when using tab comments (#16)
  • Remove Sentry.io

1.1.2

2019-01-08

  • Add Sentry.io
  • Update dependencies
  • Update CDN links (switch from unpkg to jsdelivr)
  • Fix rollup plugin configuration
  • Fix website landscape display on notched devices

1.1.0

2018-11-10

  • Add support for tabsets nested within lists

1.0.6

2018-11-01

  • Fix rendering issue caused by marked package upgrade in docsify 4.8.0

1.0.5

2018-10-11

  • Fix bug that prevented rendering of tabs from markdown with Windows-style line terminators

1.0.0 - 1.0.4

2018-10-09

  • Initial release