
內容簡介
總結:Taco Table of Contents 是一個輕量且高效的外掛程式,能夠自動為您的長文內容生成目錄(TOC)。
問題與答案:
1. 什麼是 Taco Table of Contents?
Taco Table of Contents 是一個外掛程式,能夠自動為您的長文內容生成目錄(TOC)。
2. 可以如何選擇插入 TOC?
您可以選擇自動將 TOC 插入在內容之前或之後,或使用短代碼手動設置。
3. 這個外掛的特點有哪些?
- 可靈活設置:自動在內容之前/之後插入 TOC,或使用 [taco_toc] 短代碼手動設置。
- 自動偵測:自動掃描 <h1> 到 <h6> 標籤(可配置)。
- 可摺疊標題:可以選擇哪些標題應該在其母標籤下默認摺疊。
- 滾動間諜:當用戶向下滾動頁面時,在 TOC 中突顯活動部分。
- 骨架加載器:在 JavaScript 計算標題位置時,顯示平滑的加載動畫。
- 現代管理介面:易於使用的設置頁面,內置幫助指南。
- 智能滾動:如果 URL 中有哈希值,則在頁面加載時自動跳轉到正確的標題。
外掛標籤
開發者團隊
原文外掛簡介
Taco Table of Contents is a lightweight and performant plugin that automatically generates a Table of Contents (TOC) for your long-form content.
You can choose to have the TOC automatically inserted before or after your content, or place it manually with a shortcode. It features a modern skeleton loading state and automatic scroll highlighting.
Key Features:
Flexible Placement: Automatically insert TOC before/after content or manually via [taco_toc].
Auto-Detection: Automatically scans
through
tags (configurable).
Collapsible Headings: Optionally select which headings should collapse under their parent tag by default
Scroll Spy: Highlights the active section in the TOC as the user scrolls down the page.
Skeleton Loader: Displays a smooth loading animation while the JavaScript calculates heading positions.
Modern Admin UI: Easy to use settings page with built-in help guide.
Smart Scrolling: Automatically jumps to the correct heading on page load if a hash is present in the URL.
延伸相關外掛
Collapsible Headings: Optionally select which headings should collapse under their parent tag by default
Scroll Spy: Highlights the active section in the TOC as the user scrolls down the page.
Skeleton Loader: Displays a smooth loading animation while the JavaScript calculates heading positions.
Modern Admin UI: Easy to use settings page with built-in help guide.
Smart Scrolling: Automatically jumps to the correct heading on page load if a hash is present in the URL.
