Toc

Indexing can be created using Toc

Example

The index is created by specifying the element of the index to be created in the selectorattribute.

It is for <h2> or later and must start with <h2>.

vue
<template>
 <Toc selector="#bd-content" />
</template>

Colors

You can use Color management to specify the color

vue
<template>
 <Toc
  selector="#bd-content"
  color="danger"
 />
 <Toc
  selector="#bd-content"
  color="pink-700"
 />
</template>

See Also