1# AutoColor Plugin for DokuWiki
2
3The **AutoColor** plugin for DokuWiki automatically highlights and colors predefined keywords across your wiki pages. Instead of relying on a clunky admin interface, it uses a standard DokuWiki table as its central configuration source.
4
5![Vorschau des AutoColor Plugins: Konfigurationsseite](dokuwiki-plugin-autocolor-screenshot.png)
6
7## ✨ Features
8
9* **Wiki-Based Configuration:** Manage all your keywords, acronyms, and colors intuitively via a simple wiki table.
10* **Case-Sensitive:** Differentiates between exact uppercase and lowercase spellings.
11* **Lightweight & Fast:** Hooks directly into DokuWiki's native lexer and fully supports the caching system. Zero performance overhead.
12
13
14## �� Installation
15
16### Option 1: Via Extension Manager (Recommended)
171. Download the latest release as a `.zip` file from this repository.
182. Log into your DokuWiki and navigate to **Admin -> Extension Manager**.
193. Go to the **Manual Install** tab.
204. Upload the `.zip` file and click "Install".
21
22### Option 2: Manual Installation
231. Clone this repository or extract the downloaded `.zip` file.
242. Ensure the extracted folder is named exactly `autocolor`.
253. Move the folder into the `lib/plugins/` directory of your DokuWiki installation.
26
27## ��️ Usage & Configuration
28
29Once installed, setting up your colors takes less than a minute.
30
311. Navigate to **Admin -> Configuration Settings** and find the `autocolor` section.
322. Define the wiki page you want to use for your configuration (Default is `admin:autocolor`).
333. Create this exact page in your DokuWiki and insert a table using the following syntax:
34
35```text
36====== AutoColor Configuration ======
37
38^ Keywords (comma-separated) ^ Color (Hex code or HTML color name) ^
39| DokuWiki, Wiki             | #0055b3                             |
40| Error, Warning, Danger     | red                                 |
41| Success, Done, Finished    | green                               |
42