From 1bf7bc5b79636814db73a9148998c72fbe554d58 Mon Sep 17 00:00:00 2001 From: workhorse Date: Mon, 3 Jun 2024 16:47:42 -0400 Subject: Fixed heading config --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 6843eee..6bb5a5c 100644 --- a/README.md +++ b/README.md @@ -15,14 +15,14 @@ Example config via [lazy.nvim](https://github.com/folke/lazy.nvim) ```lua { - "DefaultGen/denote.nvim", + "DefaultGen/simple-denote.nvim", opts = { - ext = "md", -- Note file extension - dir = "~/notes/", -- Directory where notes are created - new_heading_on_retitle = true, -- Determines whether to replace the first - -- line with a new heading upon retitling + ext = "md", -- Note file extension + dir = "~/notes", -- Notes directory (should already exist) + add_heading = true, -- Add a md/org heading to new notes + retitle_heading = true, -- Replace the first line with a new heading when retitling }, -} +}, ``` `new_heading_on_retitle` supports Markdown (#) and Org/Norg (*) headings. -- cgit v1.2.3