Skip to content

netnaps/simpletoc

 
 

Repository files navigation

=== SimpleTOC - Table of Contents Block ===
Contributors:  MarcDK
Tags: Gutenberg, TOC, Table of Contents, Inhaltsverzeichnis, twenty-twenty
Requires at least: 5.0
Tested up to: 5.5
Stable tag: 2.5
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Adds a custom "table of contents" Gutenberg block.

== Description ==

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

== Installation ==

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.

## Screenshots ##
1. SimpleTOC block in Gutenberg editor
2. SimpleTOC in the post

About

WordPress plugin that adds a custom "table of contents" Gutenberg block.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 78.2%
  • JavaScript 20.0%
  • CSS 1.8%