跳转至

🔗 链接和参考

Looks for the presence of a reference to tickets from issues trackers like Jira, Linear, etc and automatically convert them to links that point to respective platforms.

  • author: Saurabh Kumar theskumar
  • links: Github | PyPI
  • installation: pip install autolink-references-mkdocs-plugin
plugins:
   - autolink_references:
        autolinks:
            - reference_prefix: AF-
              target_url: https://linear.com/AF-<num>
            - reference_prefix: PROJ-
              target_url: https://jiracloud.com/PROJ-<num>

autorefs

Automatically link across pages in MkDocs.

Why another "automatic cross linking" plugin? Because none of the other implementations were meeting our requirements for mkdocstrings. mkdocs-autorefs is actually performant (no HTML re-parsing), compatible with other plugins, and provides an easy-to-use syntax.

PyPI - Downloads

Plugin for mkdocs which enables easier linking between pages.

This plugin was written in order to provide an up-to-date and feature complete plugin for easily referencing documents with a variety of features:

- File name linking (e.g. `[Text](file)`)
- Absolute paths (e.g. `[Text](/link/to/file.md)`)
- WikiLinks support (e.g. `[[Link]]`)
  • author: Mick Orbik orbikm
  • links: Github
  • installation: pip install mkdocs-ezlinks-plugin

unused-files

PyPI - Downloads

Find unused (orphaned) files in your project.

This is useful, e.g., if your project contains a lot of image files and you lost track which images are still in use.

A file is considered "used" when it is referenced in at least one Markdown file of your project, either as an image or as a hyperlink reference.

gitlab

PyPI - Downloads

Transform handles such as #1234, %56, !789, &12 or $34 into links to a gitlab repository, given by the gitlab_url configuration option.

Automatically links heading references in the form [My heading], similar to Pandoc’s implicit_header_references extension.

  • author: Paul Ouellette pauloue
  • links: Github
  • installation: pip install git+https://github.com/pauloue/mkdocs-autoreflinks-plugin

PyPI - Downloads

Simplifies relative linking between documents. Allows you to link to pages and images within your MkDocs site without providing the entire relative path to the file in your document structure.

PyPI - Downloads

Inherit from autolinks, support [[mdfile]] -> [mdfile](path-to-file), also implicit heading [[#A Title]] -> [#A Title](#a-title)

abs-to-rel

PyPI - Downloads

Mkdocs absolute to relative link converter. Mkdocs officially only supports relative links. While this makes sense there are situation where it is useful to make use of absolute links. For example when creating a document with absolute links to an image folder. If that file is to be moved later on, links are kept intact.

  • author: Sander sander76
  • links: Github | Docs
  • installation: pip install mkdocs-abs-rel-plugin

webcontext

PyPI - Downloads

Converting absolute image/link paths to webcontext aware paths. Use when you are not going to upload your MkDocs to the site root but rather a sub folder on an existing site. You will then be able to use the same absolute path (staring with "/") for development and after deploy. Examples of site urls before and after using the webcontext plugin: | Site Url | Context | Image before | Image after | | ---------------------- | ------- | ---------------- | -------------------- | | http://example.com/foo | /foo | /images/img1.jpg | /foo/images/img1.jpg |

  • author: Darrel Kleynhans Darrelk
  • links: PyPI | Github | Docs
  • installation: pip install mkdocs_webcontext_plugin

emailprotect

Obscures email addresses from address-harvesting spam bots.

  • author: Roland Freikamp rkoe
  • links Github | Docs
  • installation: pip install git+https://github.com/rkoe/mkdocs-emailprotect

linkpatcher-plugin

Extends the Markdown syntax by providing an alternative : header prefix, and provides special autolinking functionality for such headers.

  • author: sekikawattt
  • links: Github | Docs
  • installation: pip install git+https://github.com/sekikawattt/mkdocs-linkpatcher-plugin

redirects

PyPI - Downloads

Makes it easy to create dynamic page redirects, so you can move docs around and prevent broken links. Instead of using the meta “redirect:” support (which requires you to have extraneous Markdown files cluttering up your docs folder), this plugin dynamically generates the meta redirect HTML pages in the site_dir based on configuration in mkdocs.yml mapping old paths to new page locations.

htmlproofer

PyPI - Downloads

Validates URLs in rendered HTML files.

Not functional with current release of Mkdocs

PyPI - Downloads

Adds tooltips to preview the content of page links using tooltipster.

Simplifies internal links. Very simple mkdocs plugin using John Gruber's relative path link as an alternate syntax for internal links, removing the need to add the .md suffix for the target page.

  • author: Cristi Mitrana cmitu
  • links: Github | Docs
  • installation: pip install git+https://github.com/cmitu/mkdocs-altlink-plugin/

mkdocs-alias-plugin

Allows linking to your pages using a custom alias, such as [[my-alias]]. The syntax of the alias is reminiscent of MediaWiki links, while aliases themselves are defined in the meta section of the Markdown document. This allows for a decoupling of the wiki page from the file system in case you make frequent changes to filenames or your directory structure without having to fix broken links.

  • author: Eddy Luten EddyLuten
  • links: PyPI | Github
  • installation: pip install mkdocs-alias-plugin