定制 respinar/contao-tableofcontents 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

respinar/contao-tableofcontents

最新稳定版本:0.8.1

Composer 安装命令:

composer require respinar/contao-tableofcontents

包简介

Table of Contents for Contao

README 文档

README

This Contao Extenstion simply adds a table of contents to the article using JavaScript. It is based on the class name for example "layout_full". It creates a table by searching for h2 and h3 headings.

This extenstion based on https://techindetail.com/table-of-contents-javascript/

Table of contents

Table of contents (TOC) is the list of all the headings in a blog post or an article with a link to each of these headings.

TOC is used to navigate faster to a particular heading in a long content webpage, by clicking a link of a toc it directly scrolls to that particular section of the page.

How to use

To use this plugin, just select and add it in the content section.

The settings include the title, the desired class to search for headings, as well as the headings that should be added to the content list.

统计信息

  • 总下载量: 43
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-11-30