SIGN IN SIGN UP
hexojs / hexo UNCLAIMED

A fast, simple & powerful blog framework, powered by Node.js.

0 0 54 TypeScript

feat(helper/toc): specify maximum number of items to output (#5487)

* feat(helper/toc): specify maximum number of items to output

* perf: skip evaluation if `max_items` is not specified

* perf: streamline getting min and max heading level

---------

Co-authored-by: Uiolee <22849383+uiolee@users.noreply.github.com>
Co-authored-by: yoshinorin <yoshinorin.net@outlook.com>
K
KentarouTakeda committed
c321bb623507cd2f9cb3a3c8f07dcc09bf6c86cf
Parent: a3f27b8
Committed by GitHub <noreply@github.com> on 7/1/2024, 2:31:26 PM