Skip to main content

A MkDocs plugin to add note boxes to your documentation.

Project description

MkDocs-Note

MkDocs-Note is a plugin for MkDocs that transforms your documentation site into a powerful personal knowledge base with bi-directional linking, similar to Obsidian or Roam Research.

Features

  • Bi-directional Linking: Automatically create and display backlinks for your notes.
  • Note Management: Easily create new notes from templates using command line tools.
  • Recent Notes: Display a list of recent notes on your homepage.
  • Attachment Management: Handles attachments within your notes directory.
  • Flexible Configuration: Highly customizable to fit your workflow.

Installation

Recommanded to use uv to manage python virtual environment:

uv venv
uv pip insatll mkdocs-note

Or install the plugin using pip:

pip install mkdocs-note

Then, add the plugin to your mkdocs.yml:

plugins:
  - mkdocs-note

Usage

Creating Notes

You can create a new note using the following command:

mkdocs note new "My New Note"

Linking Notes

Use [[wiki-style]] links to connect your notes. The plugin will automatically convert these into valid Markdown links and generate backlinks.

[[My Target Note]] will be converted to a link to My Target Note.md.

Backlinks

Backlinks are automatically added to the bottom of each note, showing you which other notes link to the current one.

Configuration

You can customize the plugin's behavior in your mkdocs.yml:

plugins:
  - note:
      # Whether the plugin is enabled
      enabled: true
      # The root path for your notes
      notes_root_path: ["notes", "docs"]
      # Template for new notes
      notes_template: "templates/default.md"
      # Path for attachments
      attachment_path: "assets"
      # Paths to exclude from note processing
      path_blacklist: ["drafts"]

Contributing

Contributions are welcome! Please see the CONTRIBUTING.md file for guidelines.

License

This project is licensed under the GNU General Public License v3.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mkdocs_note-0.0.1.tar.gz (26.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mkdocs_note-0.0.1-py3-none-any.whl (25.2 kB view details)

Uploaded Python 3

File details

Details for the file mkdocs_note-0.0.1.tar.gz.

File metadata

  • Download URL: mkdocs_note-0.0.1.tar.gz
  • Upload date:
  • Size: 26.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.14

File hashes

Hashes for mkdocs_note-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5bcd5a20e3668490a0c1607b5f089e317292b0cd4af5ec9b8b30adafb1f0baaa
MD5 8655571fabd487bfc2ba85eec442a050
BLAKE2b-256 631598597c7d97243fe043095161cc1968e9397d10d13763f94967c374eea7a2

See more details on using hashes here.

File details

Details for the file mkdocs_note-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mkdocs_note-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8ccc85856a54eed2bb6c4114fe7f00f094a4c8af0a8308adb20beaaf489f108a
MD5 66994319c0f7d35419064b01e70074a7
BLAKE2b-256 1ab59d2065fb04ff38e1a52b2fc17f23fd61dc7f22326b66ec18dcc38237fa69

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page