return {
  "epwalsh/obsidian.nvim",
  version = "*", -- Use latest release instead of latest commit
  lazy = true,
  ft = "markdown",
  dependencies = {
    "nvim-lua/plenary.nvim", -- Required dependency
    "hrsh7th/nvim-cmp", -- For completions
    "nvim-telescope/telescope.nvim", -- For search functionality
  },
  opts = {
    workspaces = {
      {
        name = "Ideas",
        path = "~/Documents/Obsidian Vault/Ideas/",
      },
      {
        name = "Professional",
        path = "~/Documents/Obsidian Vault/Professional/",
      },
      {
        name = "Projects",
        path = "~/Documents/Obsidian Vault/Projects/",
      },
    },
    new_notes_location = "notes_subdir",
    completion = {
      nvim_cmp = true,
      min_chars = 2,
    },
    -- Use daily notes in a daily folder
    daily_notes = {
      folder = "daily",
      date_format = "%Y-%m-%d",
    },
    -- Use the built-in way to handle attachments (e.g. images)
    attachments = {
      img_folder = "assets/images", -- Where to save images
    },
    -- Add template support
    templates = {
      folder = "templates",
      date_format = "%Y-%m-%d",
      time_format = "%H:%M",
    },
  },
}
