File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
material/overrides/assets/stylesheets Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -236,6 +236,19 @@ The following configuration options are supported:
236
236
permalink: ⚓︎
237
237
` ` `
238
238
239
+ ` permalink_title` { # toc-permalink-title }
240
+
241
+ : :octicons-milestone-24 : Default: `Permanent link` – This option sets the
242
+ title of the anchor link which is shown on hover and read by screen readers.
243
+ For accessibility reasons, it might be beneficial to change it to a more
244
+ discernable name, stating that the anchor links to the section itself :
245
+
246
+ ` ` ` yaml
247
+ markdown_extensions:
248
+ - toc:
249
+ permalink_title: Anchor link to this section for reference
250
+ ` ` `
251
+
239
252
` slugify` { # toc-slugify }
240
253
241
254
: :octicons-milestone-24 : Default: `headerid.slugify` – This option allows for
You can’t perform that action at this time.
0 commit comments