Skip to content

Commit 3979412

Browse files
committed
Corrected prefix option
1 parent 72718c9 commit 3979412

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,23 +45,23 @@ Updating the plugin as a Git submodule:
4545

4646
## Options
4747

48-
### Table of contents prefix
48+
### Table of Contents Prefix
4949

5050
Paperback books can include a table of contents created from the text found located in the `$page->title()` field. The following option can be added to the `site/config/config.php` file, allowing you to specify a custom table of contents prefix.
5151

5252
This option is not set by default.
5353

5454
```php
5555
return [
56-
'splorp.paperback-export.tocPrefix' => '',
56+
'splorp.paperback-export.prefix' => '',
5757
];
5858
```
5959

6060
Specify a prefix.
6161

6262
```php
6363
return [
64-
'splorp.paperback-export.tocPrefix' => ['@@TOC '],
64+
'splorp.paperback-export.prefix' => ['@@TOC '],
6565
];
6666
```
6767

0 commit comments

Comments
 (0)