A lightweight mkdocs plugin to add title casing to all mkdocs pages and sections. Uses python-titlecase for formatting.
Install the plugin using pip:
pip install mkdocs-title-casing-pluginInclude the plugin in mkdocs.yml. For example:
plugins:
- search
- title-casingIf this is the first
pluginsentry that you are adding, you should probably also addsearchas this is enabled by default.
When the plugin is enabled, all section and page titles will be converted to use Title Case. For example, War and peace becomes War and Peace.
capitalization_type(string)title- default - givesWar and Peace.first_letter- givesWar And Peace.
default_page_name(string). The page name to use when it cannot be determined automatically. Default isHome.
plugins:
- search
- title-casing:
capitalization_type: first_letter
default_page_name: Index