summaryrefslogtreecommitdiff
path: root/docs/extensions
diff options
context:
space:
mode:
authorWaylan Limberg <waylan.limberg@icloud.com>2019-11-26 13:53:40 -0500
committerGitHub <noreply@github.com>2019-11-26 13:53:40 -0500
commit66517465786b90ccb7fcffeef7996b593374d889 (patch)
tree2a2c09d632e230ef5654d772121297e81fc84a9a /docs/extensions
parent1f3ec538a2acf25607253fc7c7a992950463931d (diff)
downloadpython-markdown-66517465786b90ccb7fcffeef7996b593374d889.tar.gz
Add permalink_title option (#886)
Addes a new `permalink_title` option to the TOC extension, which allows the title attribute of a permalink to be set to something other than the default English string "Permanent link". Fixes #781.
Diffstat (limited to 'docs/extensions')
-rw-r--r--docs/extensions/toc.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/extensions/toc.md b/docs/extensions/toc.md
index bd37c9e..b068b29 100644
--- a/docs/extensions/toc.md
+++ b/docs/extensions/toc.md
@@ -168,6 +168,9 @@ The following options are provided to configure the output:
* **`permalink_class`**:
CSS class(es) used for the link. Defaults to `headerlink`.
+* **`permalink_title`**:
+ Title attribute of the permanent link. Defaults to `Permanent link`.
+
* **`baselevel`**:
Base level for headers. Defaults to `1`.