=== XTND Table Of Content ===
Contributors: xtnd2030
Tags: toc, headings, anchor links, gutenberg, seo
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Adds a dynamic, customizable table of content block for WordPress. Generates anchor links and supports RTL/LTR.

== Description ==

**Xtnd Table Of Content** is a Gutenberg block plugin that adds a powerful, dynamic table of contents (TOC) to your posts and pages.

It automatically detects headings in your content and generates anchor links to improve navigation, accessibility, and SEO. You can choose which heading levels to include. It also supports both RTL and LTR languages, making it fully accessible to global audiences.

== Features ==
* Gutenberg block for inserting a table of contents
* Supports heading level filtering (`h1` to `h6`)
* Automatically updates as you edit your content
* RTL and LTR support
* SEO-friendly anchor generation

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Add the "XTND Table of Contents" block in the block editor where you want the TOC to appear.

== Frequently Asked Questions ==

= Does it work with the Classic Editor? =
No, this plugin is designed exclusively for the Gutenberg block editor.

= Can I customize which headings are included? =
Yes! You can choose which heading levels (`h1` to `h6`) appear in the TOC from the block settings panel.

= Does the plugin support Arabic and RTL (Right-to-Left) languages? =
Yes! The plugin fully supports Arabic and other RTL languages, ensuring proper alignment and display.

== Screenshots ==

1. The Table of Contents block as seen in the WordPress editor.
(assets/screenshot-1.png)
2. The Table of Contents as it appears on the frontend of your site.
(assets/screenshot-2.png)

== Changelog ==

= 1.0.0 =
* Initial release

== Upgrade Notice ==

= 1.0.0 =
Initial release of the Xtnd Table Of Content plugin.

== License ==

This plugin is licensed under the GPLv2 or later. See the LICENSE file for more information.
