Plugin Configuration Reference¶
This page explains all available plugin configs that can be edited with mkdocs.yml
.
read_icon¶
Default value: material-check
Icon to show in the navigation for pages that marked as read.
Values
You can select any icon (or emoji) available in your mkdocs-material setup. Check out here for icon names.
Example:
updated_icon¶
Default value: material-update
Icon to show in the navigation for pages that have been updated after user marked as read.
include¶
Default value: []
List of regex patterns to use mark-as-read plugin in pages without setting mark_as_read
in page
meta.
Given regex patterns will be matched against the page's absolute path. If page's path matches any of the regex patterns, the plugin will be enabled for that page.
Don't add ^
and $
in the regex pattern, the plugin adds them and thus searches for full match.
Example:
exclude¶
Default value: []
List of regex patterns to activate the plugin in all pages except the ones that match any of the given patterns.
Example:
texts¶
Text configuration options can be used for localization or just to customize the text shown to user.
mark_as_read¶
Default: Mark as read
Text of the button when user is not marked the page as read.
Example:
Add icons or emojis to the text
You can also add icons or emojis to the text. Example
mark_as_unread¶
Default: Mark as unread
Text of the button when user is marked the page as read.
Example:
read_tooltip¶
Default: Read
Tooltip of the icon in the navigation when user is marked the page as read.
Example:
updated_tooltip¶
Default: Document updated
Tooltip of the icon in the navigation when page is updated after user marked it as read.
Example: