mkdocs-autorefs

1.4.4 · active · verified Thu Apr 09

mkdocs-autorefs is an MkDocs plugin that automatically creates hyperlinks across pages and to specific sections within your documentation using a simple `[text][identifier]` syntax. It is currently at version 1.4.4 and is actively maintained with frequent, minor updates.

Warnings

Install

Imports

Quickstart

Add `autorefs` to the `plugins` section of your `mkdocs.yml`. Once configured, you can use the `[text][identifier]` syntax in your Markdown files. The identifier can be a page path (e.g., `index.md`) or a page path combined with a section heading (e.g., `page.md#section-heading`).

site_name: My Docs

plugins:
  - search
  - autorefs:
      enabled: true # Optional, default is true
      deduplicate_references: true # Optional, default is true

# Example Markdown usage (e.g., in a file `docs/api.md`):
# Link to another page: [Introduction][index.md]
# Link to a section: [Installation steps][setup.md#installation]

view raw JSON →