SimpleTOC – Table of Contents Block

外掛說明

In Gutenberg, add a block and search for “SimpleTOC” or just “TOC”. You need to save your post before you add the block. It works by parsing the post content and retrieving the heading blocks and creates a new dynamic block with a list of links to the headings.

Features

  • Designed for Gutenberg
  • Works great with all themes
  • Simple and clean HTML
  • Inherits the style of your theme
  • No customizations needed
  • Compatible with AMP plugins
  • SEO friendly.
  • No need for additional javascript or css.
  • Comes with English, French, Spanish and German translations

This plugin is forked from https://github.com/pdewouters/gutentoc by pdewouters and uses code from https://github.com/shazahm1/Easy-Table-of-Contents by shazahm1

螢幕擷圖

  • SimpleTOC block in Gutenberg editor
  • SimpleTOC in the post

適用於區塊編輯器

這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。

simpletoc/toc
SimpleTOC

安裝方式

SimpleTOC can be found and installed via the Plugin menu within WordPress administration (Plugins -> Add New). Alternatively, it can be downloaded from WordPress.org and installed manually…

In Gutenberg, add a block and search for “SimpleTOC” or just “TOC”. Please save your content before you use the block.

使用者評論

2020 年 4 月 23 日
works flawlessly in my block. Add simple but clean table of contents to my articles.
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈SimpleTOC – Table of Contents Block〉的開發相關工作。

參與者

SimpleTOC – Table of Contents Block 外掛目前已有 4 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將 SimpleTOC – Table of Contents Block 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄