diff options
| author | workhorse <gravel.justness270@slmail.me> | 2024-06-03 16:47:42 -0400 |
|---|---|---|
| committer | workhorse <gravel.justness270@slmail.me> | 2024-06-03 16:47:42 -0400 |
| commit | 1bf7bc5b79636814db73a9148998c72fbe554d58 (patch) | |
| tree | 726034d44493fa264a819a1089429eb0213e5593 /README.md | |
| parent | 6fe1f8d638bc3bfa52ff6433735f95a7eacbcba8 (diff) | |
| download | simple-denote.nvim-1bf7bc5b79636814db73a9148998c72fbe554d58.tar.gz | |
Fixed heading config
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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. |
