=== NexIndex - Auto Table of Contents & SEO Links ===
Contributors: nexplugin
Tags: table of contents, toc, index, seo, navigation
Requires at least: 5.8
Tested up to: 6.9
Stable tag: 1.2.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

NexIndex is the Next-Gen Table of Contents plugin. Beautiful skins, Smart SEO Anchors, Inline Headings (News Style), and Mobile-First design.

== Description ==

**NexIndex** is built for performance-obsessed creators. Unlike other plugins that load heavy assets, NexIndex uses zero jQuery and intelligent conditional loading.

We reimagined navigation to be beautiful, intelligent, and editorial-friendly. Say goodbye to ugly lists and welcome a modern reading experience.

### 🚀 Killer Features

* **Dual-Mode Headings (Exclusive):**
    * **Standard Block:** Create classic H2/H3 headings on their own lines.
    * **Inline "News-Style" Heading:** Create headings that merge seamlessly into the start of a paragraph (like in newspapers). Google reads them as valid headings, but they visually flow with your text.
* **5 Modern Skins:** No coding required. Choose from Glassmorphism, Notion-style, Midnight SaaS, Minimal Border, and Card Shadow.
* **Live Editor Preview:** See your TOC structure update in **Real-Time** directly inside the Gutenberg sidebar.
* **Smart Mobile Widget:** On mobile, the TOC automatically transforms into a sleek Floating Button or Bottom Bar to save screen space.
* **Reading Progress Bar:** A slim progress indicator at the top of the screen to encourage reading completion.
* **Smart Anchor Generator:** Automatically removes stop words (e.g., "how-to-cook-rice" instead of "how-to-cook-the-rice") for cleaner URLs.
* **Hybrid Editor Support:** Works perfectly in both **Gutenberg (Block Editor)** and **Classic Editor (TinyMCE)**.

### ⚡ Why NexIndex?

1.  **Zero Bloat:** Written in Vanilla JS (<10KB). No jQuery dependencies.
2.  **SEO Optimized:** Uses semantic HTML5 `<nav>` and valid ARIA roles.
3.  **Developer Friendly:** Clean code architecture and hooks.

== Installation ==

1.  Upload the `nexindex` folder to the `/wp-content/plugins/` directory.
2.  Activate the plugin through the 'Plugins' menu in WordPress.
3.  Go to **Settings > NexIndex** to configure your preferred skin and options.

== Frequently Asked Questions ==

= Does this plugin support Elementor or Divi? =
Yes! NexIndex works by scanning the final HTML output of your page. It automatically detects headings created by Elementor, Divi, Beaver Builder, or any other page builder.

= How do I use the "Inline Heading" feature? =
In the editor, simply highlight the text at the **start of a paragraph** and click the **"Inline H2" (Bold Icon)** button in the toolbar. The text will become bold and blue, acting as a heading without breaking the paragraph.

= Can I hide the TOC on specific posts? =
Yes. If a post has fewer headings than the "Minimum Headings" setting (Default: 2), the TOC will automatically hide itself.

= Is it compatible with the Classic Editor? =
Yes, version 1.1.0+ adds full support for the Classic Editor (TinyMCE) toolbar.

== Screenshots ==

1.  **Beautiful Skins:** Choose from 5 presets like Glassmorphism and Midnight.
2.  **Live Preview:** Real-time structure update in Gutenberg Sidebar.
3.  **Mobile Widget:** Floating icon mode on mobile devices.
4.  **Settings Panel:** Clean and easy-to-use configuration tabs.

== Changelog ==

= 1.2.0 =
* **New:** Added Mobile Layout Options (Floating Icon vs Bottom Bar vs Static).
* **New:** Added full Internationalization (i18n) support.
* **Update:** Improved compatibility with Classic Editor (TinyMCE).
* **Update:** Refined CSS for mobile view (Slim Mode).

= 1.1.1 =
* **Fix:** Changed Inline Heading logic to use Span with ARIA roles instead of transforming to H tags. This fixes the issue where paragraphs were breaking into new lines.
* **Fix:** Fixed Editor visual styles where inline headings appeared too small.

= 1.1.0 =
* **New:** Added Inline Heading support (Editorial/News Style).
* **New:** Added Live Preview Sidebar for Gutenberg.
* **New:** Added 5 Visual Skins (Glass, Notion, Midnight, Minimal, Card).
* **New:** Added Smart Mobile Floating Widget.
* **New:** Added Reading Progress Bar.
* **Update:** Major code refactoring to Modular MVC pattern.

= 1.0.0 =
* Initial release.
* Basic Auto-Insertion features.
* Smart Anchor generation.

== Upgrade Notice ==

= 1.2.0 =
This update introduces new Mobile Layout options and better stability for the Classic Editor. Highly recommended.